#87971C#87971C

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

Color values

HEX#87971C
RGBrgb(135, 151, 28)
HSLhsl(68, 69%, 35%)
HSVhsv(68, 81%, 59%)
CMYKcmyk(10.6%, 0%, 81.5%, 40.8%)
CIE-LABlab(59.31, -21.07, 57.01)
CIE-LCHlch(59.31, 60.78, 110.29°)
OKLaboklab(64.21% -0.064 0.1241)
OKLCHoklch(64.21% 0.14 117.3)
XYZxyz(21.2684, 27.3682, 5.2606)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87971C #2C1C97
analogous
#976A1C #87971C #49971C
triadic
#87971C #1C8797 #971C87
tetradic
#87971C #1C976A #2C1C97 #971C49
square
#87971C #1C976A #2C1C97 #971C49
split-complementary
#87971C #1C4997 #6A1C97
monochromatic
#2B3009 #596312 #87971C #B5CB26 #CCDE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87971C#FFFFFF#000000##000000
##87971C1.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)
#A08F28
Tritanopia (blue-blind)
#908E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #87971c;
/* rgb */ color: rgb(135, 151, 28);
/* oklch */ color: oklch(64.2% 0.140 117.3);
Tailwind
colors: {
  custom: {
    50: '#aeb565',
    500: '#87971c',
    950: '#000000',
  },
}
SCSS
$custom: #87971c;
$custom-light: #aeb565;
$custom-dark: #000000;
JSON
{
  "hex": "#87971c",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 67.805,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64206,
    "c": 0.13959,
    "h": 117.3
  },
  "luminance": 0.27368
}

Semantic roles & 50–950 ramp

primary
#87971C
secondary
#5D4EC1
accent
#3CEC53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87971C

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

Preview Lab → · Contrast checker → · Palette generator →

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