#8F971C#8F971C

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

Color values

HEX#8F971C
RGBrgb(143, 151, 28)
HSLhsl(64, 69%, 35%)
HSVhsv(64, 81%, 59%)
CMYKcmyk(5.3%, 0%, 81.5%, 40.8%)
CIE-LABlab(59.94, -17.55, 57.80)
CIE-LCHlch(59.94, 60.41, 106.89°)
OKLaboklab(64.87% -0.0547 0.1255)
OKLCHoklch(64.87% 0.137 113.5)
XYZxyz(22.6046, 28.0572, 5.3232)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F971C #241C97
analogous
#97611C #8F971C #52971C
triadic
#8F971C #1C8F97 #971C8F
tetradic
#8F971C #1C9761 #241C97 #971C52
square
#8F971C #1C9761 #241C97 #971C52
split-complementary
#8F971C #1C5297 #611C97
monochromatic
#2D3009 #5E6312 #8F971C #C0CB26 #D5DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F971C#FFFFFF#000000##000000
##8F971C1.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)
#A39228
Tritanopia (blue-blind)
#998D81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f971c;
/* rgb */ color: rgb(143, 151, 28);
/* oklch */ color: oklch(64.9% 0.137 113.5);
Tailwind
colors: {
  custom: {
    50: '#b3b565',
    500: '#8f971c',
    950: '#000000',
  },
}
SCSS
$custom: #8f971c;
$custom-light: #b3b565;
$custom-dark: #000000;
JSON
{
  "hex": "#8f971c",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 63.902,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64866,
    "c": 0.13684,
    "h": 113.5
  },
  "luminance": 0.28057
}

Semantic roles & 50–950 ramp

primary
#8F971C
secondary
#554EC1
accent
#3CEC48
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F971C

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

Preview Lab → · Contrast checker → · Palette generator →

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