#9EA22C#9EA22C

#9EA22C 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#9EA22C
RGBrgb(158, 162, 44)
HSLhsl(62, 57%, 40%)
HSVhsv(62, 73%, 64%)
CMYKcmyk(2.5%, 0%, 72.8%, 36.5%)
CIE-LABlab(64.40, -15.93, 57.14)
CIE-LCHlch(64.40, 59.32, 105.58°)
OKLaboklab(68.76% -0.0496 0.1264)
OKLCHoklch(68.76% 0.136 111.4)
XYZxyz(27.4764, 33.2923, 7.3611)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA22C #302CA2
analogous
#A26B2C #9EA22C #63A22C
triadic
#9EA22C #2C9EA2 #A22C9E
tetradic
#9EA22C #2CA26B #302CA2 #A22C63
square
#9EA22C #2CA26B #302CA2 #A22C63
split-complementary
#9EA22C #2C63A2 #6B2CA2
monochromatic
#404212 #6F721F #9EA22C #C6CB40 #D5D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA22C#FFFFFF#000000##000000
##9EA22C1.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)
#AF9B16
Deuteranopia (green-blind)
#AF9E35
Tritanopia (blue-blind)
#A9988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ea22c;
/* rgb */ color: rgb(158, 162, 44);
/* oklch */ color: oklch(68.8% 0.136 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebd6e',
    500: '#9ea22c',
    950: '#000000',
  },
}
SCSS
$custom: #9ea22c;
$custom-light: #bebd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea22c",
  "rgb": {
    "r": 158,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 62.034,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68761,
    "c": 0.13581,
    "h": 111.4
  },
  "luminance": 0.33292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9EA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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