#9EA72C#9EA72C

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

Color values

HEX#9EA72C
RGBrgb(158, 167, 44)
HSLhsl(64, 58%, 41%)
HSVhsv(64, 74%, 65%)
CMYKcmyk(5.4%, 0%, 73.7%, 34.5%)
CIE-LABlab(65.82, -18.49, 58.50)
CIE-LCHlch(65.82, 61.35, 107.54°)
OKLaboklab(69.9% -0.0568 0.1293)
OKLCHoklch(69.9% 0.141 113.7)
XYZxyz(28.3747, 35.0890, 7.6605)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA72C #352CA7
analogous
#A7732C #9EA72C #61A72C
triadic
#9EA72C #2C9EA7 #A72C9E
tetradic
#9EA72C #2CA773 #352CA7 #A72C61
square
#9EA72C #2CA773 #352CA7 #A72C61
split-complementary
#9EA72C #2C61A7 #732CA7
monochromatic
#424612 #70771F #9EA72C #C3CD43 #D3DA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA72C#FFFFFF#000000##000000
##9EA72C1.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)
#B49F13
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#A99D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea72c;
/* rgb */ color: rgb(158, 167, 44);
/* oklch */ color: oklch(69.9% 0.141 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec16e',
    500: '#9ea72c',
    950: '#000000',
  },
}
SCSS
$custom: #9ea72c;
$custom-light: #bec16e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea72c",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 64.39,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69898,
    "c": 0.14121,
    "h": 113.7
  },
  "luminance": 0.35088
}

Semantic roles & 50–950 ramp

primary
#9EA72C
secondary
#736DC2
accent
#46E252
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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