#87971D#87971D

#87971D is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.2% C 0.139 H 117.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#87971D
RGBrgb(135, 151, 29)
HSLhsl(68, 68%, 35%)
HSVhsv(68, 81%, 59%)
CMYKcmyk(10.6%, 0%, 80.8%, 40.8%)
CIE-LABlab(59.32, -21.04, 56.72)
CIE-LCHlch(59.32, 60.50, 110.35°)
OKLaboklab(64.21% -0.0638 0.1236)
OKLCHoklch(64.21% 0.139 117.3)
XYZxyz(21.2806, 27.3731, 5.3246)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87971D #2D1D97
analogous
#976A1D #87971D #4A971D
triadic
#87971D #1D8797 #971D87
tetradic
#87971D #1D976A #2D1D97 #971D4A
square
#87971D #1D976A #2D1D97 #971D4A
split-complementary
#87971D #1D4A97 #6A1D97
monochromatic
#2B3009 #596413 #87971D #B5CA27 #CBDE51

Accessibility & contrast

On white

3.24
#87971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#87971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87971D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87971D#FFFFFF#000000##000000
##87971D1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#A08F29
Tritanopia (blue-blind)
#908E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #87971d;
/* rgb */ color: rgb(135, 151, 29);
/* oklch */ color: oklch(64.2% 0.139 117.3);
Tailwind
colors: {
  custom: {
    50: '#adb565',
    500: '#87971d',
    950: '#000000',
  },
}
SCSS
$custom: #87971d;
$custom-light: #adb565;
$custom-dark: #000000;
JSON
{
  "hex": "#87971d",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 67.869,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64211,
    "c": 0.13913,
    "h": 117.3
  },
  "luminance": 0.27373
}

Semantic roles & 50–950 ramp

primary
#87971D
secondary
#5E4FC0
accent
#3DEB54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87971D

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

Preview Lab → · Contrast checker → · Palette generator →

#87971D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva