#9EA81D#9EA81D

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

Color values

HEX#9EA81D
RGBrgb(158, 168, 29)
HSLhsl(64, 71%, 39%)
HSVhsv(64, 83%, 66%)
CMYKcmyk(6%, 0%, 82.7%, 34.1%)
CIE-LABlab(66.03, -19.60, 63.28)
CIE-LCHlch(66.03, 66.25, 107.21°)
OKLaboklab(70.05% -0.061 0.1368)
OKLCHoklch(70.05% 0.15 114)
XYZxyz(28.3259, 35.3637, 6.4959)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EA81D #271DA8
analogous
#A86C1D #9EA81D #58A81D
triadic
#9EA81D #1D9EA8 #A81D9E
tetradic
#9EA81D #1DA86C #271DA8 #A81D58
square
#9EA81D #1DA86C #271DA8 #A81D58
split-complementary
#9EA81D #1D58A8 #6C1DA8
monochromatic
#3C400B #6D7414 #9EA81D #CDDA28 #D9E35C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EA81D#FFFFFF#000000##000000
##9EA81D1.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)
#A99D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9ea81d;
/* rgb */ color: rgb(158, 168, 29);
/* oklch */ color: oklch(70.0% 0.150 114.0);
Tailwind
colors: {
  custom: {
    50: '#bfc168',
    500: '#9ea81d',
    950: '#000000',
  },
}
SCSS
$custom: #9ea81d;
$custom-light: #bfc168;
$custom-dark: #000000;
JSON
{
  "hex": "#9ea81d",
  "rgb": {
    "r": 158,
    "g": 168,
    "b": 29
  },
  "hsl": {
    "h": 64.317,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.70046,
    "c": 0.1498,
    "h": 114
  },
  "luminance": 0.35363
}

Semantic roles & 50–950 ramp

primary
#9EA81D
secondary
#625AC7
accent
#3AED47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9EA81D

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

Preview Lab → · Contrast checker → · Palette generator →

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