#9EB22D#9EB22D

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

Color values

HEX#9EB22D
RGBrgb(158, 178, 45)
HSLhsl(69, 60%, 44%)
HSVhsv(69, 75%, 70%)
CMYKcmyk(11.2%, 0%, 74.7%, 30.2%)
CIE-LABlab(68.97, -23.94, 61.15)
CIE-LCHlch(68.97, 65.67, 111.38°)
OKLaboklab(72.43% -0.0718 0.1351)
OKLCHoklch(72.43% 0.153 118)
XYZxyz(30.4953, 39.2997, 8.4612)
Luminance0.3930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EB22D #412DB2
analogous
#B2832D #9EB22D #5BB22D
triadic
#9EB22D #2D9EB2 #B22D9E
tetradic
#9EB22D #2DB283 #412DB2 #B22D5B
square
#9EB22D #2DB283 #412DB2 #B22D5B
split-complementary
#9EB22D #2D5BB2 #832DB2
monochromatic
#475014 #738121 #9EB22D #BDD14B #CFDE7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EB22D#FFFFFF#000000##000000
##9EB22D1.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)
#BEA80F
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#A8A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9eb22d;
/* rgb */ color: rgb(158, 178, 45);
/* oklch */ color: oklch(72.4% 0.153 118.0);
Tailwind
colors: {
  custom: {
    50: '#bec970',
    500: '#9eb22d',
    950: '#000000',
  },
}
SCSS
$custom: #9eb22d;
$custom-light: #bec970;
$custom-dark: #000000;
JSON
{
  "hex": "#9eb22d",
  "rgb": {
    "r": 158,
    "g": 178,
    "b": 45
  },
  "hsl": {
    "h": 69.023,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72429,
    "c": 0.15294,
    "h": 118
  },
  "luminance": 0.39299
}

Semantic roles & 50–950 ramp

primary
#9EB22D
secondary
#8175C6
accent
#45E35D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9EB22D

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

Preview Lab → · Contrast checker → · Palette generator →

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