#9DB02D#9DB02D

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

Color values

HEX#9DB02D
RGBrgb(157, 176, 45)
HSLhsl(69, 59%, 43%)
HSVhsv(69, 74%, 69%)
CMYKcmyk(10.8%, 0%, 74.4%, 31%)
CIE-LABlab(68.32, -23.38, 60.51)
CIE-LCHlch(68.32, 64.87, 111.13°)
OKLaboklab(71.89% -0.0702 0.1337)
OKLCHoklch(71.89% 0.151 117.7)
XYZxyz(29.9043, 38.4085, 8.3203)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB02D #402DB0
analogous
#B0812D #9DB02D #5BB02D
triadic
#9DB02D #2D9DB0 #B02D9D
tetradic
#9DB02D #2DB081 #402DB0 #B02D5B
square
#9DB02D #2DB081 #402DB0 #B02D5B
split-complementary
#9DB02D #2D5BB0 #812DB0
monochromatic
#464F14 #727F21 #9DB02D #BDD14A #CFDD7A

Accessibility & contrast

On white

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

On black

8.68
#9DB02D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB02D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB02D#FFFFFF#000000##000000
##9DB02D1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9db02d;
/* rgb */ color: rgb(157, 176, 45);
/* oklch */ color: oklch(71.9% 0.151 117.7);
Tailwind
colors: {
  custom: {
    50: '#bdc770',
    500: '#9db02d',
    950: '#000000',
  },
}
SCSS
$custom: #9db02d;
$custom-light: #bdc770;
$custom-dark: #000000;
JSON
{
  "hex": "#9db02d",
  "rgb": {
    "r": 157,
    "g": 176,
    "b": 45
  },
  "hsl": {
    "h": 68.702,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71891,
    "c": 0.15103,
    "h": 117.7
  },
  "luminance": 0.38408
}

Semantic roles & 50–950 ramp

primary
#9DB02D
secondary
#7F73C5
accent
#45E25C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB02D

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

Preview Lab → · Contrast checker → · Palette generator →

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