#8D981E#8D981E

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

Color values

HEX#8D981E
RGBrgb(141, 152, 30)
HSLhsl(65, 67%, 36%)
HSVhsv(65, 80%, 60%)
CMYKcmyk(7.2%, 0%, 80.3%, 40.4%)
CIE-LABlab(60.08, -18.87, 57.28)
CIE-LCHlch(60.08, 60.31, 108.23°)
OKLaboklab(64.94% -0.0581 0.1248)
OKLCHoklch(64.94% 0.138 115)
XYZxyz(22.4478, 28.2133, 5.4912)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D981E #291E98
analogous
#98661E #8D981E #50981E
triadic
#8D981E #1E8D98 #981E8D
tetradic
#8D981E #1E9866 #291E98 #981E50
square
#8D981E #1E9866 #291E98 #981E50
split-complementary
#8D981E #1E5098 #661E98
monochromatic
#2E320A #5E6514 #8D981E #BCCB28 #D1DD53

Accessibility & contrast

On white

3.16
#8D981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#8D981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D981E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D981E#FFFFFF#000000##000000
##8D981E1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d981e;
/* rgb */ color: rgb(141, 152, 30);
/* oklch */ color: oklch(64.9% 0.138 115.0);
Tailwind
colors: {
  custom: {
    50: '#b2b666',
    500: '#8d981e',
    950: '#000000',
  },
}
SCSS
$custom: #8d981e;
$custom-light: #b2b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8d981e",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 65.41,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64942,
    "c": 0.13764,
    "h": 115
  },
  "luminance": 0.28213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D981E

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

Preview Lab → · Contrast checker → · Palette generator →

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