#9DCA31#9DCA31

#9DCA31 is a light, vivid yellow-green. Relative luminance 0.496; OKLCH L 78.0% C 0.179 H 125.1°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#9DCA31
RGBrgb(157, 202, 49)
HSLhsl(78, 61%, 49%)
HSVhsv(78, 76%, 79%)
CMYKcmyk(22.3%, 0%, 75.7%, 20.8%)
CIE-LABlab(75.84, -35.52, 66.31)
CIE-LCHlch(75.84, 75.23, 118.18°)
OKLaboklab(77.97% -0.1032 0.1466)
OKLCHoklch(77.97% 0.179 125.1)
XYZxyz(35.5798, 49.6305, 10.6103)
Luminance0.4963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCA31 #5E31CA
analogous
#CAAB31 #9DCA31 #51CA31
triadic
#9DCA31 #319DCA #CA319D
tetradic
#9DCA31 #31CAAB #5E31CA #CA3151
square
#9DCA31 #31CAAB #5E31CA #CA3151
split-complementary
#9DCA31 #3151CA #AB31CA
monochromatic
#506719 #779925 #9DCA31 #B5D860 #CCE491

Accessibility & contrast

On white

1.92
#9DCA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#9DCA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCA31
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCA31#FFFFFF#000000##000000
##9DCA311.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD09
Deuteranopia (green-blind)
#CFBA40
Tritanopia (blue-blind)
#A4C0AD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9dca31;
/* rgb */ color: rgb(157, 202, 49);
/* oklch */ color: oklch(78.0% 0.179 125.1);
Tailwind
colors: {
  custom: {
    50: '#beda75',
    500: '#9dca31',
    950: '#000000',
  },
}
SCSS
$custom: #9dca31;
$custom-light: #beda75;
$custom-dark: #000000;
JSON
{
  "hex": "#9dca31",
  "rgb": {
    "r": 157,
    "g": 202,
    "b": 49
  },
  "hsl": {
    "h": 77.647,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77969,
    "c": 0.17929,
    "h": 125.1
  },
  "luminance": 0.49631
}

Semantic roles & 50–950 ramp

primary
#9DCA31
secondary
#9D88CF
accent
#44E473
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9DCA31

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

Preview Lab → · Contrast checker → · Palette generator →

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