#7EBF21

A color in the Green family

#7ebf21 is a color in the Green family: RGB(126, 191, 33), HSL(85°, 71%, 44%), CMYK(34%, 0%, 83%, 25%). Closest named color: yellowgreen. Contrast is 2.24:1 on white and 9.36:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7ebf21
RGBrgb(126 191 33)
RGB (legacy)rgb(126, 191, 33)
RGB %rgb(49% 75% 13%)
HSLhsl(85 71% 44%)
HSV / HSBhsv(85, 83%, 75%)
HWBhwb(85 13% 25%)
CMYKcmyk(34%, 0%, 83%, 25%)
CIELAB (D50)lab(70.93 -38.24 64.43)
LCHlch(70.93 74.92 120.69)
OKLaboklab(0.7333 -0.123 0.1434)
OKLCHoklch(0.7333 0.1889 130.63)
Decimal8306465

Properties

Color ToneGreen
Closest named coloryellowgreen ΔE 5.3
Closest web-safe color#66cc33
Hue85°
Saturation (HSL / HSV)71% / 83%
Lightness (HSL)44%
Brightness or Value (HSV)75%
Luminance (Rec.601 / Rec.709)60% / 65%
Relative luminance (WCAG)0.4181
Red / Green / Blue126 / 191 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.24:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.36: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 44 / -58.2 · As background with white / black text: Lc -48.8 / 60

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: #7ebf21;
  --color-brand-oklch: oklch(73.33% 0.1889 130.63);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(126 191 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7ebf21] text-[#7ebf21] border-[#7ebf21]">