#9DB020#9DB020

#9DB020 is a light, vivid yellow. Relative luminance 0.383; OKLCH L 71.8% C 0.158 H 117.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#9DB020
RGBrgb(157, 176, 32)
HSLhsl(68, 69%, 41%)
HSVhsv(68, 82%, 69%)
CMYKcmyk(10.8%, 0%, 81.8%, 31%)
CIE-LABlab(68.26, -23.92, 64.40)
CIE-LCHlch(68.26, 68.70, 110.38°)
OKLaboklab(71.82% -0.0727 0.1398)
OKLCHoklch(71.82% 0.158 117.5)
XYZxyz(29.6914, 38.3234, 7.1992)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB020 #3320B0
analogous
#B07B20 #9DB020 #55B020
triadic
#9DB020 #209DB0 #B0209D
tetradic
#9DB020 #20B07B #3320B0 #B02055
square
#9DB020 #20B07B #3320B0 #B02055
split-complementary
#9DB020 #2055B0 #7B20B0
monochromatic
#41480D #6F7C17 #9DB020 #C4DA33 #D3E367

Accessibility & contrast

On white

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

On black

8.66
#9DB020 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB020
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB020#FFFFFF#000000##000000
##9DB0201.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BBA72F
Tritanopia (blue-blind)
#A7A696
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9db020;
/* rgb */ color: rgb(157, 176, 32);
/* oklch */ color: oklch(71.8% 0.158 117.5);
Tailwind
colors: {
  custom: {
    50: '#bec76a',
    500: '#9db020',
    950: '#000000',
  },
}
SCSS
$custom: #9db020;
$custom-light: #bec76a;
$custom-dark: #000000;
JSON
{
  "hex": "#9db020",
  "rgb": {
    "r": 157,
    "g": 176,
    "b": 32
  },
  "hsl": {
    "h": 67.917,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.71821,
    "c": 0.15751,
    "h": 117.5
  },
  "luminance": 0.38323
}

Semantic roles & 50–950 ramp

primary
#9DB020
secondary
#7063C9
accent
#3CEC53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9DB020

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

Preview Lab → · Contrast checker → · Palette generator →

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