#9EA91F#9EA91F

#9EA91F is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.3% C 0.150 H 114.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9EA91F
RGBrgb(158, 169, 31)
HSLhsl(65, 69%, 39%)
HSVhsv(65, 82%, 66%)
CMYKcmyk(6.5%, 0%, 81.7%, 33.7%)
CIE-LABlab(66.32, -20.04, 63.01)
CIE-LCHlch(66.32, 66.12, 107.64°)
OKLaboklab(70.28% -0.0621 0.1366)
OKLCHoklch(70.28% 0.15 114.5)
XYZxyz(28.5367, 35.7445, 6.6922)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA91F #2A1FA9
analogous
#A96F1F #9EA91F #59A91F
triadic
#9EA91F #1F9EA9 #A91F9E
tetradic
#9EA91F #1FA96F #2A1FA9 #A91F59
square
#9EA91F #1FA96F #2A1FA9 #A91F59
split-complementary
#9EA91F #1F59A9 #6F1FA9
monochromatic
#3D420C #6E7516 #9EA91F #CBD82D #D8E260

Accessibility & contrast

On white

2.58
#9EA91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#9EA91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA91F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA91F#FFFFFF#000000##000000
##9EA91F1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#A99F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ea91f;
/* rgb */ color: rgb(158, 169, 31);
/* oklch */ color: oklch(70.3% 0.150 114.5);
Tailwind
colors: {
  custom: {
    50: '#bec269',
    500: '#9ea91f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea91f;
$custom-light: #bec269;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea91f",
  "rgb": {
    "r": 158,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 64.783,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.70284,
    "c": 0.15002,
    "h": 114.5
  },
  "luminance": 0.35744
}

Semantic roles & 50–950 ramp

primary
#9EA91F
secondary
#665DC7
accent
#3CEC4A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA91F

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

Preview Lab → · Contrast checker → · Palette generator →

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