#9EA81F#9EA81F

#9EA81F is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.149 H 114.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9EA81F
RGBrgb(158, 168, 31)
HSLhsl(64, 69%, 39%)
HSVhsv(64, 82%, 66%)
CMYKcmyk(6%, 0%, 81.5%, 34.1%)
CIE-LABlab(66.04, -19.54, 62.76)
CIE-LCHlch(66.04, 65.73, 107.29°)
OKLaboklab(70.06% -0.0607 0.136)
OKLCHoklch(70.06% 0.149 114.1)
XYZxyz(28.3514, 35.3739, 6.6304)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA81F #291FA8
analogous
#A86E1F #9EA81F #59A81F
triadic
#9EA81F #1F9EA8 #A81F9E
tetradic
#9EA81F #1FA86E #291FA8 #A81F59
square
#9EA81F #1FA86E #291FA8 #A81F59
split-complementary
#9EA81F #1F59A8 #6E1FA8
monochromatic
#3D410C #6D7415 #9EA81F #CCD82C #D8E260

Accessibility & contrast

On white

2.60
#9EA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#9EA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EA81F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EA81F#FFFFFF#000000##000000
##9EA81F1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#A99E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea81f;
/* rgb */ color: rgb(158, 168, 31);
/* oklch */ color: oklch(70.1% 0.149 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec169',
    500: '#9ea81f',
    950: '#000000',
  },
}
SCSS
$custom: #9ea81f;
$custom-light: #bec169;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea81f",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 64.38,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.70055,
    "c": 0.14895,
    "h": 114.1
  },
  "luminance": 0.35373
}

Semantic roles & 50–950 ramp

primary
#9EA81F
secondary
#645DC6
accent
#3CEC49
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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