#9EA71F#9EA71F

#9EA71F is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.8% C 0.148 H 113.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9EA71F
RGBrgb(158, 167, 31)
HSLhsl(64, 69%, 39%)
HSVhsv(64, 81%, 65%)
CMYKcmyk(5.4%, 0%, 81.4%, 34.5%)
CIE-LABlab(65.75, -19.03, 62.51)
CIE-LCHlch(65.75, 65.35, 106.93°)
OKLaboklab(69.83% -0.0593 0.1355)
OKLCHoklch(69.83% 0.148 113.6)
XYZxyz(28.1675, 35.0061, 6.5691)
Luminance0.3500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA71F #281FA7
analogous
#A76C1F #9EA71F #5AA71F
triadic
#9EA71F #1F9EA7 #A71F9E
tetradic
#9EA71F #1FA76C #281FA7 #A71F5A
square
#9EA71F #1FA76C #281FA7 #A71F5A
split-complementary
#9EA71F #1F5AA7 #6C1FA7
monochromatic
#3C400C #6D7315 #9EA71F #CCD82B #D9E15F

Accessibility & contrast

On white

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

On black

8.00
#9EA71F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA71F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA71F#FFFFFF#000000##000000
##9EA71F1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ea71f;
/* rgb */ color: rgb(158, 167, 31);
/* oklch */ color: oklch(69.8% 0.148 113.6);
Tailwind
colors: {
  custom: {
    50: '#bec069',
    500: '#9ea71f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea71f;
$custom-light: #bec069;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea71f",
  "rgb": {
    "r": 158,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 63.971,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69826,
    "c": 0.1479,
    "h": 113.6
  },
  "luminance": 0.35005
}

Semantic roles & 50–950 ramp

primary
#9EA71F
secondary
#635CC6
accent
#3CEC48
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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