#8C981E#8C981E

#8C981E is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.9% C 0.138 H 115.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8C981E
RGBrgb(140, 152, 30)
HSLhsl(66, 67%, 36%)
HSVhsv(66, 80%, 60%)
CMYKcmyk(7.9%, 0%, 80.3%, 40.4%)
CIE-LABlab(60.00, -19.31, 57.18)
CIE-LCHlch(60.00, 60.35, 108.66°)
OKLaboklab(64.86% -0.0592 0.1246)
OKLCHoklch(64.86% 0.138 115.4)
XYZxyz(22.2784, 28.1260, 5.4833)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C981E #2A1E98
analogous
#98671E #8C981E #4F981E
triadic
#8C981E #1E8C98 #981E8C
tetradic
#8C981E #1E9867 #2A1E98 #981E4F
square
#8C981E #1E9867 #2A1E98 #981E4F
split-complementary
#8C981E #1E4F98 #671E98
monochromatic
#2E320A #5D6514 #8C981E #BBCB28 #D0DD53

Accessibility & contrast

On white

3.17
#8C981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8C981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C981E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C981E#FFFFFF#000000##000000
##8C981E1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#968F82
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8c981e;
/* rgb */ color: rgb(140, 152, 30);
/* oklch */ color: oklch(64.9% 0.138 115.4);
Tailwind
colors: {
  custom: {
    50: '#b1b666',
    500: '#8c981e',
    950: '#000000',
  },
}
SCSS
$custom: #8c981e;
$custom-light: #b1b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8c981e",
  "rgb": {
    "r": 140,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 65.902,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64859,
    "c": 0.13797,
    "h": 115.4
  },
  "luminance": 0.28126
}

Semantic roles & 50–950 ramp

primary
#8C981E
secondary
#5C51C0
accent
#3EEA4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8C981E

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

Preview Lab → · Contrast checker → · Palette generator →

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