#9DC921#9DC921

#9DC921 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 77.7% C 0.185 H 124.4°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#9DC921
RGBrgb(157, 201, 33)
HSLhsl(76, 72%, 46%)
HSVhsv(76, 84%, 79%)
CMYKcmyk(21.9%, 0%, 83.6%, 21.2%)
CIE-LABlab(75.48, -35.71, 70.42)
CIE-LCHlch(75.48, 78.96, 116.89°)
OKLaboklab(77.66% -0.1047 0.1528)
OKLCHoklch(77.66% 0.185 124.4)
XYZxyz(35.0662, 49.0508, 9.0589)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DC921 #4D21C9
analogous
#C9A121 #9DC921 #49C921
triadic
#9DC921 #219DC9 #C9219D
tetradic
#9DC921 #21C9A1 #4D21C9 #C92149
square
#9DC921 #21C9A1 #4D21C9 #C92149
split-complementary
#9DC921 #2149C9 #A121C9
monochromatic
#4B6010 #749418 #9DC921 #B8E146 #CCE97B

Accessibility & contrast

On white

1.94
#9DC921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#9DC921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DC921
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DC921#FFFFFF#000000##000000
##9DC9211.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BB00
Deuteranopia (green-blind)
#CFB935
Tritanopia (blue-blind)
#A5BFAC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9dc921;
/* rgb */ color: rgb(157, 201, 33);
/* oklch */ color: oklch(77.7% 0.185 124.4);
Tailwind
colors: {
  custom: {
    50: '#bed96e',
    500: '#9dc921',
    950: '#000000',
  },
}
SCSS
$custom: #9dc921;
$custom-light: #bed96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9dc921",
  "rgb": {
    "r": 157,
    "g": 201,
    "b": 33
  },
  "hsl": {
    "h": 75.714,
    "s": 71.795,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77656,
    "c": 0.18527,
    "h": 124.4
  },
  "luminance": 0.49051
}

Semantic roles & 50–950 ramp

primary
#9DC921
secondary
#8D75D1
accent
#39EF69
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9DC921

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

Preview Lab → · Contrast checker → · Palette generator →

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