#9DB22B#9DB22B

#9DB22B is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.3% C 0.154 H 118.3°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#9DB22B
RGBrgb(157, 178, 43)
HSLhsl(69, 61%, 43%)
HSVhsv(69, 76%, 70%)
CMYKcmyk(11.8%, 0%, 75.8%, 30.2%)
CIE-LABlab(68.88, -24.46, 61.71)
CIE-LCHlch(68.88, 66.38, 111.62°)
OKLaboklab(72.34% -0.0733 0.1359)
OKLCHoklch(72.34% 0.154 118.3)
XYZxyz(30.2618, 39.1836, 8.2540)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB22B #402BB2
analogous
#B2832B #9DB22B #5AB22B
triadic
#9DB22B #2B9DB2 #B22B9D
tetradic
#9DB22B #2BB283 #402BB2 #B22B5A
square
#9DB22B #2BB283 #402BB2 #B22B5A
split-complementary
#9DB22B #2B5AB2 #832BB2
monochromatic
#464F13 #72811F #9DB22B #BDD348 #CFDF79

Accessibility & contrast

On white

2.38
#9DB22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#9DB22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DB22B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DB22B#FFFFFF#000000##000000
##9DB22B1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA809
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#A7A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db22b;
/* rgb */ color: rgb(157, 178, 43);
/* oklch */ color: oklch(72.3% 0.154 118.3);
Tailwind
colors: {
  custom: {
    50: '#bdc96f',
    500: '#9db22b',
    950: '#000000',
  },
}
SCSS
$custom: #9db22b;
$custom-light: #bdc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db22b",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 69.333,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7234,
    "c": 0.15444,
    "h": 118.3
  },
  "luminance": 0.39183
}

Semantic roles & 50–950 ramp

primary
#9DB22B
secondary
#7F72C7
accent
#44E45D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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