#9CC321#9CC321

#9CC321 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.2% C 0.179 H 123.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#9CC321
RGBrgb(156, 195, 33)
HSLhsl(74, 71%, 45%)
HSVhsv(74, 83%, 76%)
CMYKcmyk(20%, 0%, 83.1%, 23.5%)
CIE-LABlab(73.68, -33.36, 68.83)
CIE-LCHlch(73.68, 76.49, 115.86°)
OKLaboklab(76.18% -0.0983 0.1495)
OKLCHoklch(76.18% 0.179 123.3)
XYZxyz(33.5004, 46.2077, 8.5926)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC321 #4821C3
analogous
#C39921 #9CC321 #4BC321
triadic
#9CC321 #219CC3 #C3219C
tetradic
#9CC321 #21C399 #4821C3 #C3214B
square
#9CC321 #21C399 #4821C3 #C3214B
split-complementary
#9CC321 #214BC3 #9921C3
monochromatic
#485A0F #728F18 #9CC321 #B9DF42 #CDE877

Accessibility & contrast

On white

2.05
#9CC321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#9CC321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC321
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC321#FFFFFF#000000##000000
##9CC3211.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#CAB534
Tritanopia (blue-blind)
#A4B9A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9cc321;
/* rgb */ color: rgb(156, 195, 33);
/* oklch */ color: oklch(76.2% 0.179 123.3);
Tailwind
colors: {
  custom: {
    50: '#bed56d',
    500: '#9cc321',
    950: '#000000',
  },
}
SCSS
$custom: #9cc321;
$custom-light: #bed56d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc321",
  "rgb": {
    "r": 156,
    "g": 195,
    "b": 33
  },
  "hsl": {
    "h": 74.444,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7618,
    "c": 0.17889,
    "h": 123.3
  },
  "luminance": 0.46208
}

Semantic roles & 50–950 ramp

primary
#9CC321
secondary
#8771CF
accent
#3AEE65
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9CC321

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

Preview Lab → · Contrast checker → · Palette generator →

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