#7ECA21

A color in the Green family

#7eca21 is a color in the Green family: RGB(126, 202, 33), HSL(87°, 72%, 46%), CMYK(38%, 0%, 84%, 21%). Closest named color: yellowgreen. Contrast is 2.03:1 on white and 10.36:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#7eca21
RGBrgb(126 202 33)
RGB (legacy)rgb(126, 202, 33)
RGB %rgb(49% 79% 13%)
HSLhsl(87 72% 46%)
HSV / HSBhsv(87, 84%, 79%)
HWBhwb(87 13% 21%)
CMYKcmyk(38%, 0%, 84%, 21%)
CIELAB (D50)lab(74.24 -42.56 67.24)
LCHlch(74.24 79.58 122.33)
OKLaboklab(0.7604 -0.1354 0.1496)
OKLCHoklch(0.7604 0.2018 132.15)
Decimal8309281

Properties

Color ToneGreen
Closest named coloryellowgreen ΔE 3.6
Closest web-safe color#66cc33
Hue87°
Saturation (HSL / HSV)72% / 84%
Lightness (HSL)46%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)63% / 68%
Relative luminance (WCAG)0.4679
Red / Green / Blue126 / 202 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.03:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.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 39.1 / -63.2 · As background with white / black text: Lc -43.6 / 64.8

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