#9DB22A#9DB22A

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

Color values

HEX#9DB22A
RGBrgb(157, 178, 42)
HSLhsl(69, 62%, 43%)
HSVhsv(69, 76%, 70%)
CMYKcmyk(11.8%, 0%, 76.4%, 30.2%)
CIE-LABlab(68.88, -24.51, 62.03)
CIE-LCHlch(68.88, 66.69, 111.56°)
OKLaboklab(72.33% -0.0735 0.1364)
OKLCHoklch(72.33% 0.155 118.3)
XYZxyz(30.2436, 39.1763, 8.1586)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DB22A #3F2AB2
analogous
#B2832A #9DB22A #59B22A
triadic
#9DB22A #2A9DB2 #B22A9D
tetradic
#9DB22A #2AB283 #3F2AB2 #B22A59
square
#9DB22A #2AB283 #3F2AB2 #B22A59
split-complementary
#9DB22A #2A59B2 #832AB2
monochromatic
#464F13 #71801E #9DB22A #BDD346 #CFDF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DB22A#FFFFFF#000000##000000
##9DB22A1.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)
#BEA805
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#A7A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9db22a;
/* rgb */ color: rgb(157, 178, 42);
/* oklch */ color: oklch(72.3% 0.155 118.3);
Tailwind
colors: {
  custom: {
    50: '#bdc96f',
    500: '#9db22a',
    950: '#000000',
  },
}
SCSS
$custom: #9db22a;
$custom-light: #bdc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9db22a",
  "rgb": {
    "r": 157,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 69.265,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72334,
    "c": 0.15497,
    "h": 118.3
  },
  "luminance": 0.39176
}

Semantic roles & 50–950 ramp

primary
#9DB22A
secondary
#7E71C7
accent
#43E55C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9DB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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