#8E981E#8E981E

#8E981E is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.0% C 0.137 H 114.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8E981E
RGBrgb(142, 152, 30)
HSLhsl(65, 67%, 36%)
HSVhsv(65, 80%, 60%)
CMYKcmyk(6.6%, 0%, 80.3%, 40.4%)
CIE-LABlab(60.16, -18.43, 57.38)
CIE-LCHlch(60.16, 60.27, 107.81°)
OKLaboklab(65.03% -0.0569 0.125)
OKLCHoklch(65.03% 0.137 114.5)
XYZxyz(22.6186, 28.3014, 5.4993)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E981E #281E98
analogous
#98651E #8E981E #51981E
triadic
#8E981E #1E8E98 #981E8E
tetradic
#8E981E #1E9865 #281E98 #981E51
square
#8E981E #1E9865 #281E98 #981E51
split-complementary
#8E981E #1E5198 #651E98
monochromatic
#2F320A #5E6514 #8E981E #BECB28 #D2DD53

Accessibility & contrast

On white

3.15
#8E981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#8E981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E981E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E981E#FFFFFF#000000##000000
##8E981E1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#988F82
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8e981e;
/* rgb */ color: rgb(142, 152, 30);
/* oklch */ color: oklch(65.0% 0.137 114.5);
Tailwind
colors: {
  custom: {
    50: '#b3b666',
    500: '#8e981e',
    950: '#000000',
  },
}
SCSS
$custom: #8e981e;
$custom-light: #b3b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8e981e",
  "rgb": {
    "r": 142,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 64.918,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65025,
    "c": 0.13731,
    "h": 114.5
  },
  "luminance": 0.28301
}

Semantic roles & 50–950 ramp

primary
#8E981E
secondary
#5B51C0
accent
#3EEA4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E981E

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

Preview Lab → · Contrast checker → · Palette generator →

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