#9EA72F#9EA72F

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

Color values

HEX#9EA72F
RGBrgb(158, 167, 47)
HSLhsl(65, 56%, 42%)
HSVhsv(65, 72%, 65%)
CMYKcmyk(5.4%, 0%, 71.9%, 34.5%)
CIE-LABlab(65.84, -18.34, 57.44)
CIE-LCHlch(65.84, 60.30, 107.71°)
OKLaboklab(69.92% -0.0561 0.1276)
OKLCHoklch(69.92% 0.139 113.7)
XYZxyz(28.4332, 35.1123, 7.9683)
Luminance0.3511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA72F #382FA7
analogous
#A7742F #9EA72F #62A72F
triadic
#9EA72F #2F9EA7 #A72F9E
tetradic
#9EA72F #2FA774 #382FA7 #A72F62
square
#9EA72F #2FA774 #382FA7 #A72F62
split-complementary
#9EA72F #2F62A7 #742FA7
monochromatic
#444714 #717722 #9EA72F #C2CB48 #D2D978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA72F#FFFFFF#000000##000000
##9EA72F1.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)
#B39F19
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#A99D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea72f;
/* rgb */ color: rgb(158, 167, 47);
/* oklch */ color: oklch(69.9% 0.139 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec170',
    500: '#9ea72f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea72f;
$custom-light: #bec170;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea72f",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 64.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69919,
    "c": 0.13936,
    "h": 113.7
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#9EA72F
secondary
#7771C1
accent
#48DF54
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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