#9EA72A#9EA72A

#9EA72A is a light, vivid yellow. Relative luminance 0.351; OKLCH L 69.9% C 0.142 H 113.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#9EA72A
RGBrgb(158, 167, 42)
HSLhsl(64, 60%, 41%)
HSVhsv(64, 75%, 65%)
CMYKcmyk(5.4%, 0%, 74.9%, 34.5%)
CIE-LABlab(65.81, -18.59, 59.18)
CIE-LCHlch(65.81, 62.03, 107.44°)
OKLaboklab(69.89% -0.0572 0.1304)
OKLCHoklch(69.89% 0.142 113.7)
XYZxyz(28.3380, 35.0743, 7.4673)
Luminance0.3507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA72A #332AA7
analogous
#A7712A #9EA72A #5FA72A
triadic
#9EA72A #2A9EA7 #A72A9E
tetradic
#9EA72A #2AA771 #332AA7 #A72A5F
square
#9EA72A #2AA771 #332AA7 #A72A5F
split-complementary
#9EA72A #2A5FA7 #712AA7
monochromatic
#414511 #70761E #9EA72A #C4CF3F #D3DB70

Accessibility & contrast

On white

2.62
#9EA72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#9EA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA72A
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA72A#FFFFFF#000000##000000
##9EA72A1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0E
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#A99D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea72a;
/* rgb */ color: rgb(158, 167, 42);
/* oklch */ color: oklch(69.9% 0.142 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec16d',
    500: '#9ea72a',
    950: '#000000',
  },
}
SCSS
$custom: #9ea72a;
$custom-light: #bec16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea72a",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 64.32,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69886,
    "c": 0.14238,
    "h": 113.7
  },
  "luminance": 0.35074
}

Semantic roles & 50–950 ramp

primary
#9EA72A
secondary
#716BC2
accent
#45E350
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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