#9DB31D#9DB31D

#9DB31D is a light, vivid yellow. Relative luminance 0.395; OKLCH L 72.5% C 0.162 H 118.4°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#9DB31D
RGBrgb(157, 179, 29)
HSLhsl(69, 72%, 41%)
HSVhsv(69, 84%, 70%)
CMYKcmyk(12.3%, 0%, 83.8%, 29.8%)
CIE-LABlab(69.11, -25.49, 65.89)
CIE-LCHlch(69.11, 70.65, 111.15°)
OKLaboklab(72.5% -0.0771 0.1425)
OKLCHoklch(72.5% 0.162 118.4)
XYZxyz(30.2472, 39.4973, 7.1925)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB31D #331DB3
analogous
#B37E1D #9DB31D #52B31D
triadic
#9DB31D #1D9DB3 #B31D9D
tetradic
#9DB31D #1DB37E #331DB3 #B31D52
square
#9DB31D #1DB37E #331DB3 #B31D52
split-complementary
#9DB31D #1D52B3 #7E1DB3
monochromatic
#414A0C #6F7E14 #9DB31D #C4DD30 #D3E664

Accessibility & contrast

On white

2.36
#9DB31D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#9DB31D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB31D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB31D#FFFFFF#000000##000000
##9DB31D1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA900
Deuteranopia (green-blind)
#BDA92E
Tritanopia (blue-blind)
#A7A999
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9db31d;
/* rgb */ color: rgb(157, 179, 29);
/* oklch */ color: oklch(72.5% 0.162 118.4);
Tailwind
colors: {
  custom: {
    50: '#bec96a',
    500: '#9db31d',
    950: '#000000',
  },
}
SCSS
$custom: #9db31d;
$custom-light: #bec96a;
$custom-dark: #000000;
JSON
{
  "hex": "#9db31d",
  "rgb": {
    "r": 157,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 68.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72503,
    "c": 0.16201,
    "h": 118.4
  },
  "luminance": 0.39497
}

Semantic roles & 50–950 ramp

primary
#9DB31D
secondary
#7061CB
accent
#39EF54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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