#9DB031#9DB031

#9DB031 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 71.9% C 0.149 H 117.8°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#9DB031
RGBrgb(157, 176, 49)
HSLhsl(69, 56%, 44%)
HSVhsv(69, 72%, 69%)
CMYKcmyk(10.8%, 0%, 72.2%, 31%)
CIE-LABlab(68.34, -23.18, 59.13)
CIE-LCHlch(68.34, 63.51, 111.40°)
OKLaboklab(71.92% -0.0692 0.1315)
OKLCHoklch(71.92% 0.149 117.8)
XYZxyz(29.9850, 38.4408, 8.7453)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB031 #4431B0
analogous
#B08431 #9DB031 #5EB031
triadic
#9DB031 #319DB0 #B0319D
tetradic
#9DB031 #31B084 #4431B0 #B0315E
square
#9DB031 #31B084 #4431B0 #B0315E
split-complementary
#9DB031 #315EB0 #8431B0
monochromatic
#485016 #728024 #9DB031 #BBCE50 #CEDC80

Accessibility & contrast

On white

2.42
#9DB031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#9DB031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB031
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB031#FFFFFF#000000##000000
##9DB0311.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA61A
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#A7A697
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db031;
/* rgb */ color: rgb(157, 176, 49);
/* oklch */ color: oklch(71.9% 0.149 117.8);
Tailwind
colors: {
  custom: {
    50: '#bdc772',
    500: '#9db031',
    950: '#000000',
  },
}
SCSS
$custom: #9db031;
$custom-light: #bdc772;
$custom-dark: #000000;
JSON
{
  "hex": "#9db031",
  "rgb": {
    "r": 157,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 68.976,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.71917,
    "c": 0.14863,
    "h": 117.8
  },
  "luminance": 0.38441
}

Semantic roles & 50–950 ramp

primary
#9DB031
secondary
#8478C5
accent
#48E05F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB031

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

Preview Lab → · Contrast checker → · Palette generator →

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