#87971E#87971E

#87971E 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.48:1 contrast (WCAG AA passes).

Color values

HEX#87971E
RGBrgb(135, 151, 30)
HSLhsl(68, 67%, 35%)
HSVhsv(68, 80%, 59%)
CMYKcmyk(10.6%, 0%, 80.1%, 40.8%)
CIE-LABlab(59.32, -21.00, 56.43)
CIE-LCHlch(59.32, 60.21, 110.41°)
OKLaboklab(64.22% -0.0636 0.1232)
OKLCHoklch(64.22% 0.139 117.3)
XYZxyz(21.2932, 27.3781, 5.3908)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87971E #2E1E97
analogous
#976A1E #87971E #4A971E
triadic
#87971E #1E8797 #971E87
tetradic
#87971E #1E976A #2E1E97 #971E4A
square
#87971E #1E976A #2E1E97 #971E4A
split-complementary
#87971E #1E4A97 #6A1E97
monochromatic
#2C310A #596414 #87971E #B5CA28 #CADD53

Accessibility & contrast

On white

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

On black

6.48
#87971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87971E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87971E#FFFFFF#000000##000000
##87971E1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87971e;
/* rgb */ color: rgb(135, 151, 30);
/* oklch */ color: oklch(64.2% 0.139 117.3);
Tailwind
colors: {
  custom: {
    50: '#adb565',
    500: '#87971e',
    950: '#000000',
  },
}
SCSS
$custom: #87971e;
$custom-light: #adb565;
$custom-dark: #000000;
JSON
{
  "hex": "#87971e",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 67.934,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64216,
    "c": 0.13864,
    "h": 117.3
  },
  "luminance": 0.27378
}

Semantic roles & 50–950 ramp

primary
#87971E
secondary
#6051C0
accent
#3EEA55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87971E

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

Preview Lab → · Contrast checker → · Palette generator →

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