#8E9E1D#8E9E1D

#8E9E1D is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.4% C 0.144 H 117.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8E9E1D
RGBrgb(142, 158, 29)
HSLhsl(67, 69%, 37%)
HSVhsv(67, 82%, 62%)
CMYKcmyk(10.1%, 0%, 81.6%, 38%)
CIE-LABlab(61.91, -21.52, 59.22)
CIE-LCHlch(61.91, 63.01, 109.97°)
OKLaboklab(66.43% -0.0655 0.1287)
OKLCHoklch(66.43% 0.144 117)
XYZxyz(23.6046, 30.2935, 5.7659)
Luminance0.3029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9E1D #2D1D9E
analogous
#9E6E1D #8E9E1D #4E9E1D
triadic
#8E9E1D #1D8E9E #9E1D8E
tetradic
#8E9E1D #1D9E6E #2D1D9E #9E1D4E
square
#8E9E1D #1D9E6E #2D1D9E #9E1D4E
split-complementary
#8E9E1D #1D4E9E #6E1D9E
monochromatic
#31370A #606A14 #8E9E1D #BCD226 #CFE056

Accessibility & contrast

On white

2.98
#8E9E1D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#8E9E1D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E9E1D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9E1D#FFFFFF#000000##000000
##8E9E1D1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A8962A
Tritanopia (blue-blind)
#979587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e9e1d;
/* rgb */ color: rgb(142, 158, 29);
/* oklch */ color: oklch(66.4% 0.144 117.0);
Tailwind
colors: {
  custom: {
    50: '#b3ba66',
    500: '#8e9e1d',
    950: '#000000',
  },
}
SCSS
$custom: #8e9e1d;
$custom-light: #b3ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9e1d",
  "rgb": {
    "r": 142,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 67.442,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66426,
    "c": 0.14441,
    "h": 117
  },
  "luminance": 0.30293
}

Semantic roles & 50–950 ramp

primary
#8E9E1D
secondary
#6154C3
accent
#3CEC52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9E1D

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

Preview Lab → · Contrast checker → · Palette generator →

#8E9E1D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva