#9EA72D#9EA72D

#9EA72D 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#9EA72D
RGBrgb(158, 167, 45)
HSLhsl(64, 58%, 42%)
HSVhsv(64, 73%, 65%)
CMYKcmyk(5.4%, 0%, 73.1%, 34.5%)
CIE-LABlab(65.82, -18.44, 58.15)
CIE-LCHlch(65.82, 61.01, 107.60°)
OKLaboklab(69.91% -0.0565 0.1287)
OKLCHoklch(69.91% 0.141 113.7)
XYZxyz(28.3938, 35.0966, 7.7607)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA72D #362DA7
analogous
#A7732D #9EA72D #61A72D
triadic
#9EA72D #2D9EA7 #A72D9E
tetradic
#9EA72D #2DA773 #362DA7 #A72D61
square
#9EA72D #2DA773 #362DA7 #A72D61
split-complementary
#9EA72D #2D61A7 #732DA7
monochromatic
#434713 #707720 #9EA72D #C3CD44 #D2DA75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA72D#FFFFFF#000000##000000
##9EA72D1.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)
#B39F15
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#A99D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea72d;
/* rgb */ color: rgb(158, 167, 45);
/* oklch */ color: oklch(69.9% 0.141 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec16f',
    500: '#9ea72d',
    950: '#000000',
  },
}
SCSS
$custom: #9ea72d;
$custom-light: #bec16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea72d",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 64.426,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69905,
    "c": 0.1406,
    "h": 113.7
  },
  "luminance": 0.35096
}

Semantic roles & 50–950 ramp

primary
#9EA72D
secondary
#746EC1
accent
#47E152
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9EA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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