#7BAE21

A color in the Green family

#7bae21 is a color in the Green family: RGB(123, 174, 33), HSL(82°, 68%, 41%), CMYK(29%, 0%, 81%, 32%). Closest named color: mediumseagreen. Contrast is 2.65:1 on white and 7.92:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7bae21
RGBrgb(123 174 33)
RGB (legacy)rgb(123, 174, 33)
RGB %rgb(48% 68% 13%)
HSLhsl(82 68% 41%)
HSV / HSBhsv(82, 81%, 68%)
HWBhwb(82 13% 32%)
CMYKcmyk(29%, 0%, 81%, 32%)
CIELAB (D50)lab(65.63 -32.35 59.78)
LCHlch(65.63 67.98 118.42)
OKLaboklab(0.6896 -0.1059 0.1333)
OKLCHoklch(0.6896 0.1702 128.46)
Decimal8105505

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 7.7
Closest web-safe color#669933
Hue82°
Saturation (HSL / HSV)68% / 81%
Lightness (HSL)41%
Brightness or Value (HSV)68%
Luminance (Rec.601 / Rec.709)56% / 60%
Relative luminance (WCAG)0.3459
Red / Green / Blue123 / 174 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.65:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
7.92:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 51.4 / -50.5 · As background with white / black text: Lc -56.6 / 52.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #7bae21;
  --color-brand-oklch: oklch(68.96% 0.1702 128.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(123 174 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7bae21] text-[#7bae21] border-[#7bae21]">