#9CC21D#9CC21D

#9CC21D is a light, vivid yellow-green. Relative luminance 0.457; OKLCH L 75.9% C 0.179 H 123.0°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#9CC21D
RGBrgb(156, 194, 29)
HSLhsl(74, 74%, 44%)
HSVhsv(74, 85%, 76%)
CMYKcmyk(19.6%, 0%, 85.1%, 23.9%)
CIE-LABlab(73.38, -33.03, 69.50)
CIE-LCHlch(73.38, 76.95, 115.42°)
OKLaboklab(75.93% -0.0976 0.1503)
OKLCHoklch(75.93% 0.179 123)
XYZxyz(33.2244, 45.7400, 8.2405)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC21D #431DC2
analogous
#C2951D #9CC21D #49C21D
triadic
#9CC21D #1D9CC2 #C21D9C
tetradic
#9CC21D #1DC295 #431DC2 #C21D49
square
#9CC21D #1DC295 #431DC2 #C21D49
split-complementary
#9CC21D #1D49C2 #951DC2
monochromatic
#46580D #718D15 #9CC21D #BBE23B #CEEA70

Accessibility & contrast

On white

2.07
#9CC21D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#9CC21D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC21D
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC21D#FFFFFF#000000##000000
##9CC21D1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cc21d;
/* rgb */ color: rgb(156, 194, 29);
/* oklch */ color: oklch(75.9% 0.179 123.0);
Tailwind
colors: {
  custom: {
    50: '#bed46c',
    500: '#9cc21d',
    950: '#000000',
  },
}
SCSS
$custom: #9cc21d;
$custom-light: #bed46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc21d",
  "rgb": {
    "r": 156,
    "g": 194,
    "b": 29
  },
  "hsl": {
    "h": 73.818,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7593,
    "c": 0.1792,
    "h": 123
  },
  "luminance": 0.4574
}

Semantic roles & 50–950 ramp

primary
#9CC21D
secondary
#826BD0
accent
#37F162
background
#FCFDF6
surface
#F8FAEC
border
#D1D3C7
text
#131408
muted
#82837A

Preview Lab

Preview with #9CC21D

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

Preview Lab → · Contrast checker → · Palette generator →

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