#8F981E#8F981E

#8F981E is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.1% C 0.137 H 114.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8F981E
RGBrgb(143, 152, 30)
HSLhsl(64, 67%, 36%)
HSVhsv(64, 80%, 60%)
CMYKcmyk(5.9%, 0%, 80.3%, 40.4%)
CIE-LABlab(60.24, -17.99, 57.48)
CIE-LCHlch(60.24, 60.23, 107.38°)
OKLaboklab(65.11% -0.0557 0.1251)
OKLCHoklch(65.11% 0.137 114)
XYZxyz(22.7910, 28.3903, 5.5073)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F981E #271E98
analogous
#98641E #8F981E #52981E
triadic
#8F981E #1E8F98 #981E8F
tetradic
#8F981E #1E9864 #271E98 #981E52
square
#8F981E #1E9864 #271E98 #981E52
split-complementary
#8F981E #1E5298 #641E98
monochromatic
#2F320A #5F6514 #8F981E #BFCB28 #D3DD53

Accessibility & contrast

On white

3.14
#8F981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#8F981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F981E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F981E#FFFFFF#000000##000000
##8F981E1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f981e;
/* rgb */ color: rgb(143, 152, 30);
/* oklch */ color: oklch(65.1% 0.137 114.0);
Tailwind
colors: {
  custom: {
    50: '#b3b666',
    500: '#8f981e',
    950: '#000000',
  },
}
SCSS
$custom: #8f981e;
$custom-light: #b3b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8f981e",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 64.426,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65108,
    "c": 0.13699,
    "h": 114
  },
  "luminance": 0.2839
}

Semantic roles & 50–950 ramp

primary
#8F981E
secondary
#5A51C0
accent
#3EEA4B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F981E

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

Preview Lab → · Contrast checker → · Palette generator →

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