#9EA81E#9EA81E

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

Color values

HEX#9EA81E
RGBrgb(158, 168, 30)
HSLhsl(64, 70%, 39%)
HSVhsv(64, 82%, 66%)
CMYKcmyk(6%, 0%, 82.1%, 34.1%)
CIE-LABlab(66.03, -19.57, 63.03)
CIE-LCHlch(66.03, 65.99, 107.25°)
OKLaboklab(70.05% -0.0609 0.1364)
OKLCHoklch(70.05% 0.149 114)
XYZxyz(28.3384, 35.3687, 6.5621)
Luminance0.3537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA81E #281EA8
analogous
#A86D1E #9EA81E #59A81E
triadic
#9EA81E #1E9EA8 #A81E9E
tetradic
#9EA81E #1EA86D #281EA8 #A81E59
square
#9EA81E #1EA86D #281EA8 #A81E59
split-complementary
#9EA81E #1E59A8 #6D1EA8
monochromatic
#3C400B #6D7415 #9EA81E #CCD92A #D9E25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA81E#FFFFFF#000000##000000
##9EA81E1.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)
#B5A22C
Tritanopia (blue-blind)
#A99E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea81e;
/* rgb */ color: rgb(158, 168, 30);
/* oklch */ color: oklch(70.1% 0.149 114.0);
Tailwind
colors: {
  custom: {
    50: '#bec168',
    500: '#9ea81e',
    950: '#000000',
  },
}
SCSS
$custom: #9ea81e;
$custom-light: #bec168;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea81e",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 64.348,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.70051,
    "c": 0.14938,
    "h": 114
  },
  "luminance": 0.35368
}

Semantic roles & 50–950 ramp

primary
#9EA81E
secondary
#635BC7
accent
#3BED48
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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