#9DC21D#9DC21D

#9DC21D is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 76.0% C 0.179 H 122.7°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#9DC21D
RGBrgb(157, 194, 29)
HSLhsl(73, 74%, 44%)
HSVhsv(73, 85%, 76%)
CMYKcmyk(19.1%, 0%, 85.1%, 23.9%)
CIE-LABlab(73.44, -32.62, 69.58)
CIE-LCHlch(73.44, 76.85, 115.12°)
OKLaboklab(76% -0.0966 0.1504)
OKLCHoklch(76% 0.179 122.7)
XYZxyz(33.4187, 45.8402, 8.2496)
Luminance0.4584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC21D #421DC2
analogous
#C2941D #9DC21D #4AC21D
triadic
#9DC21D #1D9DC2 #C21D9D
tetradic
#9DC21D #1DC294 #421DC2 #C21D4A
square
#9DC21D #1DC294 #421DC2 #C21D4A
split-complementary
#9DC21D #1D4AC2 #941DC2
monochromatic
#47580D #728D15 #9DC21D #BCE23B #CEEA70

Accessibility & contrast

On white

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

On black

10.17
#9DC21D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC21D
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC21D#FFFFFF#000000##000000
##9DC21D1.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9dc21d;
/* rgb */ color: rgb(157, 194, 29);
/* oklch */ color: oklch(76.0% 0.179 122.7);
Tailwind
colors: {
  custom: {
    50: '#bed46c',
    500: '#9dc21d',
    950: '#000000',
  },
}
SCSS
$custom: #9dc21d;
$custom-light: #bed46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc21d",
  "rgb": {
    "r": 157,
    "g": 194,
    "b": 29
  },
  "hsl": {
    "h": 73.455,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75999,
    "c": 0.17875,
    "h": 122.7
  },
  "luminance": 0.4584
}

Semantic roles & 50–950 ramp

primary
#9DC21D
secondary
#826BD0
accent
#37F161
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9DC21D

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

Preview Lab → · Contrast checker → · Palette generator →

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