#9EA22B#9EA22B

#9EA22B is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.136 H 111.4°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9EA22B
RGBrgb(158, 162, 43)
HSLhsl(62, 58%, 40%)
HSVhsv(62, 73%, 64%)
CMYKcmyk(2.5%, 0%, 73.5%, 36.5%)
CIE-LABlab(64.39, -15.98, 57.49)
CIE-LCHlch(64.39, 59.67, 105.53°)
OKLaboklab(68.75% -0.0499 0.127)
OKLCHoklch(68.75% 0.136 111.4)
XYZxyz(27.4578, 33.2849, 7.2633)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA22B #2F2BA2
analogous
#A26B2B #9EA22B #62A22B
triadic
#9EA22B #2B9EA2 #A22B9E
tetradic
#9EA22B #2BA26B #2F2BA2 #A22B62
square
#9EA22B #2BA26B #2F2BA2 #A22B62
split-complementary
#9EA22B #2B62A2 #6B2BA2
monochromatic
#404111 #6F721E #9EA22B #C7CC3E #D5D96F

Accessibility & contrast

On white

2.74
#9EA22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9EA22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA22B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA22B#FFFFFF#000000##000000
##9EA22B1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B13
Deuteranopia (green-blind)
#AF9E34
Tritanopia (blue-blind)
#A9988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea22b;
/* rgb */ color: rgb(158, 162, 43);
/* oklch */ color: oklch(68.8% 0.136 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebd6d',
    500: '#9ea22b',
    950: '#000000',
  },
}
SCSS
$custom: #9ea22b;
$custom-light: #bebd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea22b",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 62.017,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68754,
    "c": 0.13643,
    "h": 111.4
  },
  "luminance": 0.33284
}

Semantic roles & 50–950 ramp

primary
#9EA22B
secondary
#6C69C0
accent
#47E14C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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