#8F971E#8F971E

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

Color values

HEX#8F971E
RGBrgb(143, 151, 30)
HSLhsl(64, 67%, 35%)
HSVhsv(64, 80%, 59%)
CMYKcmyk(5.3%, 0%, 80.1%, 40.8%)
CIE-LABlab(59.95, -17.47, 57.22)
CIE-LCHlch(59.95, 59.83, 106.98°)
OKLaboklab(64.88% -0.0543 0.1246)
OKLCHoklch(64.88% 0.136 113.6)
XYZxyz(22.6294, 28.0671, 5.4535)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F971E #261E97
analogous
#97621E #8F971E #52971E
triadic
#8F971E #1E8F97 #971E8F
tetradic
#8F971E #1E9762 #261E97 #971E52
square
#8F971E #1E9762 #261E97 #971E52
split-complementary
#8F971E #1E5297 #621E97
monochromatic
#2E310A #5F6414 #8F971E #BFCA28 #D4DD53

Accessibility & contrast

On white

3.18
#8F971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8F971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F971E
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F971E#FFFFFF#000000##000000
##8F971E1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#998E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f971e;
/* rgb */ color: rgb(143, 151, 30);
/* oklch */ color: oklch(64.9% 0.136 113.6);
Tailwind
colors: {
  custom: {
    50: '#b3b566',
    500: '#8f971e',
    950: '#000000',
  },
}
SCSS
$custom: #8f971e;
$custom-light: #b3b566;
$custom-dark: #000000;
JSON
{
  "hex": "#8f971e",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 63.967,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64876,
    "c": 0.1359,
    "h": 113.6
  },
  "luminance": 0.28067
}

Semantic roles & 50–950 ramp

primary
#8F971E
secondary
#5851C0
accent
#3EEA49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F971E

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

Preview Lab → · Contrast checker → · Palette generator →

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