#9EA72B#9EA72B

#9EA72B 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.02:1 contrast (WCAG AA passes).

Color values

HEX#9EA72B
RGBrgb(158, 167, 43)
HSLhsl(64, 59%, 41%)
HSVhsv(64, 74%, 65%)
CMYKcmyk(5.4%, 0%, 74.3%, 34.5%)
CIE-LABlab(65.81, -18.54, 58.84)
CIE-LCHlch(65.81, 61.70, 107.49°)
OKLaboklab(69.89% -0.057 0.1298)
OKLCHoklch(69.89% 0.142 113.7)
XYZxyz(28.3562, 35.0815, 7.5627)
Luminance0.3508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA72B #342BA7
analogous
#A7722B #9EA72B #60A72B
triadic
#9EA72B #2B9EA7 #A72B9E
tetradic
#9EA72B #2BA772 #342BA7 #A72B60
square
#9EA72B #2BA772 #342BA7 #A72B60
split-complementary
#9EA72B #2B60A7 #722BA7
monochromatic
#424612 #70761E #9EA72B #C4CE41 #D3DB72

Accessibility & contrast

On white

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

On black

8.02
#9EA72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA72B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA72B#FFFFFF#000000##000000
##9EA72B1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea72b;
/* rgb */ color: rgb(158, 167, 43);
/* oklch */ color: oklch(69.9% 0.142 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec16e',
    500: '#9ea72b',
    950: '#000000',
  },
}
SCSS
$custom: #9ea72b;
$custom-light: #bec16e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea72b",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 64.355,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69892,
    "c": 0.14179,
    "h": 113.7
  },
  "luminance": 0.35081
}

Semantic roles & 50–950 ramp

primary
#9EA72B
secondary
#726CC2
accent
#46E251
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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