#9AC21D#9AC21D

#9AC21D is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 75.8% C 0.180 H 123.6°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#9AC21D
RGBrgb(154, 194, 29)
HSLhsl(75, 74%, 44%)
HSVhsv(75, 85%, 76%)
CMYKcmyk(20.6%, 0%, 85.1%, 23.9%)
CIE-LABlab(73.25, -33.83, 69.34)
CIE-LCHlch(73.25, 77.15, 116.01°)
OKLaboklab(75.79% -0.0997 0.15)
OKLCHoklch(75.79% 0.18 123.6)
XYZxyz(32.8404, 45.5421, 8.2225)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AC21D #451DC2
analogous
#C2971D #9AC21D #48C21D
triadic
#9AC21D #1D9AC2 #C21D9A
tetradic
#9AC21D #1DC297 #451DC2 #C21D48
square
#9AC21D #1DC297 #451DC2 #C21D48
split-complementary
#9AC21D #1D48C2 #971DC2
monochromatic
#45580D #708D15 #9AC21D #B9E23B #CCEA70

Accessibility & contrast

On white

2.08
#9AC21D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#9AC21D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AC21D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AC21D#FFFFFF#000000##000000
##9AC21D1.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ac21d;
/* rgb */ color: rgb(154, 194, 29);
/* oklch */ color: oklch(75.8% 0.180 123.6);
Tailwind
colors: {
  custom: {
    50: '#bcd46c',
    500: '#9ac21d',
    950: '#000000',
  },
}
SCSS
$custom: #9ac21d;
$custom-light: #bcd46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9ac21d",
  "rgb": {
    "r": 154,
    "g": 194,
    "b": 29
  },
  "hsl": {
    "h": 74.545,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75792,
    "c": 0.18012,
    "h": 123.6
  },
  "luminance": 0.45542
}

Semantic roles & 50–950 ramp

primary
#9AC21D
secondary
#836BD0
accent
#37F164
background
#FCFDF6
surface
#F8FAEC
border
#D1D3C7
text
#131408
muted
#82837A

Preview Lab

Preview with #9AC21D

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

Preview Lab → · Contrast checker → · Palette generator →

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