#9EB22B#9EB22B

#9EB22B is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.4% C 0.154 H 117.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#9EB22B
RGBrgb(158, 178, 43)
HSLhsl(69, 61%, 43%)
HSVhsv(69, 76%, 70%)
CMYKcmyk(11.2%, 0%, 75.8%, 30.2%)
CIE-LABlab(68.96, -24.04, 61.80)
CIE-LCHlch(68.96, 66.31, 111.25°)
OKLaboklab(72.42% -0.0722 0.1361)
OKLCHoklch(72.42% 0.154 117.9)
XYZxyz(30.4577, 39.2846, 8.2632)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB22B #3F2BB2
analogous
#B2822B #9EB22B #5AB22B
triadic
#9EB22B #2B9EB2 #B22B9E
tetradic
#9EB22B #2BB282 #3F2BB2 #B22B5A
square
#9EB22B #2BB282 #3F2BB2 #B22B5A
split-complementary
#9EB22B #2B5AB2 #822BB2
monochromatic
#464F13 #72811F #9EB22B #BED348 #D0DF79

Accessibility & contrast

On white

2.37
#9EB22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#9EB22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EB22B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EB22B#FFFFFF#000000##000000
##9EB22B1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9eb22b;
/* rgb */ color: rgb(158, 178, 43);
/* oklch */ color: oklch(72.4% 0.154 117.9);
Tailwind
colors: {
  custom: {
    50: '#bec96f',
    500: '#9eb22b',
    950: '#000000',
  },
}
SCSS
$custom: #9eb22b;
$custom-light: #bec96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb22b",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 68.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72417,
    "c": 0.15407,
    "h": 117.9
  },
  "luminance": 0.39284
}

Semantic roles & 50–950 ramp

primary
#9EB22B
secondary
#7F72C7
accent
#44E45B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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