#8E9D1E#8E9D1E

#8E9D1E is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.2% C 0.143 H 116.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8E9D1E
RGBrgb(142, 157, 30)
HSLhsl(67, 68%, 37%)
HSVhsv(67, 81%, 62%)
CMYKcmyk(9.6%, 0%, 80.9%, 38.4%)
CIE-LABlab(61.62, -20.98, 58.68)
CIE-LCHlch(61.62, 62.32, 109.67°)
OKLaboklab(66.2% -0.0639 0.1277)
OKLCHoklch(66.2% 0.143 116.6)
XYZxyz(23.4473, 29.9588, 5.7755)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9D1E #2D1E9D
analogous
#9D6D1E #8E9D1E #4E9D1E
triadic
#8E9D1E #1E8E9D #9D1E8E
tetradic
#8E9D1E #1E9D6D #2D1E9D #9D1E4E
square
#8E9D1E #1E9D6D #2D1E9D #9D1E4E
split-complementary
#8E9D1E #1E4E9D #6D1E9D
monochromatic
#31360A #606A14 #8E9D1E #BCD028 #CFDF57

Accessibility & contrast

On white

3.00
#8E9D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8E9D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9D1E
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9D1E#FFFFFF#000000##000000
##8E9D1E1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A7962B
Tritanopia (blue-blind)
#979486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e9d1e;
/* rgb */ color: rgb(142, 157, 30);
/* oklch */ color: oklch(66.2% 0.143 116.6);
Tailwind
colors: {
  custom: {
    50: '#b3b966',
    500: '#8e9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #8e9d1e;
$custom-light: #b3b966;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9d1e",
  "rgb": {
    "r": 142,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 67.087,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.14284,
    "h": 116.6
  },
  "luminance": 0.29958
}

Semantic roles & 50–950 ramp

primary
#8E9D1E
secondary
#6154C2
accent
#3DEB52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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