#9DB02B#9DB02B

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

Color values

HEX#9DB02B
RGBrgb(157, 176, 43)
HSLhsl(69, 61%, 43%)
HSVhsv(69, 76%, 69%)
CMYKcmyk(10.8%, 0%, 75.6%, 31%)
CIE-LABlab(68.31, -23.48, 61.17)
CIE-LCHlch(68.31, 65.52, 111.00°)
OKLaboklab(71.88% -0.0706 0.1348)
OKLCHoklch(71.88% 0.152 117.6)
XYZxyz(29.8667, 38.3935, 8.1223)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB02B #3E2BB0
analogous
#B0802B #9DB02B #5BB02B
triadic
#9DB02B #2B9DB0 #B02B9D
tetradic
#9DB02B #2BB080 #3E2BB0 #B02B5B
square
#9DB02B #2BB080 #3E2BB0 #B02B5B
split-complementary
#9DB02B #2B5BB0 #802BB0
monochromatic
#454E13 #717F1F #9DB02B #BED246 #CFDE78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB02B#FFFFFF#000000##000000
##9DB02B1.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)
#BCA60B
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#A7A697
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9db02b;
/* rgb */ color: rgb(157, 176, 43);
/* oklch */ color: oklch(71.9% 0.152 117.6);
Tailwind
colors: {
  custom: {
    50: '#bdc76f',
    500: '#9db02b',
    950: '#000000',
  },
}
SCSS
$custom: #9db02b;
$custom-light: #bdc76f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db02b",
  "rgb": {
    "r": 157,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 68.571,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71878,
    "c": 0.15216,
    "h": 117.6
  },
  "luminance": 0.38393
}

Semantic roles & 50–950 ramp

primary
#9DB02B
secondary
#7D71C6
accent
#44E45B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB02B

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

Preview Lab → · Contrast checker → · Palette generator →

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