#8F971D#8F971D

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

Color values

HEX#8F971D
RGBrgb(143, 151, 29)
HSLhsl(64, 68%, 35%)
HSVhsv(64, 81%, 59%)
CMYKcmyk(5.3%, 0%, 80.8%, 40.8%)
CIE-LABlab(59.94, -17.51, 57.52)
CIE-LCHlch(59.94, 60.12, 106.93°)
OKLaboklab(64.87% -0.0545 0.125)
OKLCHoklch(64.87% 0.136 113.5)
XYZxyz(22.6168, 28.0621, 5.3873)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F971D #251D97
analogous
#97621D #8F971D #52971D
triadic
#8F971D #1D8F97 #971D8F
tetradic
#8F971D #1D9762 #251D97 #971D52
square
#8F971D #1D9762 #251D97 #971D52
split-complementary
#8F971D #1D5297 #621D97
monochromatic
#2E3009 #5E6413 #8F971D #C0CA27 #D4DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F971D#FFFFFF#000000##000000
##8F971D1.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)
#998D81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f971d;
/* rgb */ color: rgb(143, 151, 29);
/* oklch */ color: oklch(64.9% 0.136 113.5);
Tailwind
colors: {
  custom: {
    50: '#b3b565',
    500: '#8f971d',
    950: '#000000',
  },
}
SCSS
$custom: #8f971d;
$custom-light: #b3b565;
$custom-dark: #000000;
JSON
{
  "hex": "#8f971d",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 63.934,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6487,
    "c": 0.13638,
    "h": 113.5
  },
  "luminance": 0.28062
}

Semantic roles & 50–950 ramp

primary
#8F971D
secondary
#574FC0
accent
#3DEB49
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F971D

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

Preview Lab → · Contrast checker → · Palette generator →

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