#9EC21D#9EC21D

#9EC21D is a light, vivid yellow-green. Relative luminance 0.459; OKLCH L 76.1% C 0.178 H 122.4°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#9EC21D
RGBrgb(158, 194, 29)
HSLhsl(73, 74%, 44%)
HSVhsv(73, 85%, 76%)
CMYKcmyk(18.6%, 0%, 85.1%, 23.9%)
CIE-LABlab(73.51, -32.22, 69.66)
CIE-LCHlch(73.51, 76.75, 114.82°)
OKLaboklab(76.07% -0.0955 0.1506)
OKLCHoklch(76.07% 0.178 122.4)
XYZxyz(33.6147, 45.9413, 8.2588)
Luminance0.4594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EC21D #411DC2
analogous
#C2931D #9EC21D #4BC21D
triadic
#9EC21D #1D9EC2 #C21D9E
tetradic
#9EC21D #1DC293 #411DC2 #C21D4B
square
#9EC21D #1DC293 #411DC2 #C21D4B
split-complementary
#9EC21D #1D4BC2 #931DC2
monochromatic
#47580D #738D15 #9EC21D #BDE23B #CFEA70

Accessibility & contrast

On white

2.06
#9EC21D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#9EC21D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EC21D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EC21D#FFFFFF#000000##000000
##9EC21D1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB500
Deuteranopia (green-blind)
#C9B431
Tritanopia (blue-blind)
#A7B8A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9ec21d;
/* rgb */ color: rgb(158, 194, 29);
/* oklch */ color: oklch(76.1% 0.178 122.4);
Tailwind
colors: {
  custom: {
    50: '#bfd46c',
    500: '#9ec21d',
    950: '#000000',
  },
}
SCSS
$custom: #9ec21d;
$custom-light: #bfd46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ec21d",
  "rgb": {
    "r": 158,
    "g": 194,
    "b": 29
  },
  "hsl": {
    "h": 73.091,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76069,
    "c": 0.1783,
    "h": 122.4
  },
  "luminance": 0.45941
}

Semantic roles & 50–950 ramp

primary
#9EC21D
secondary
#816BD0
accent
#37F160
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9EC21D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9EC21D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva