#87972D#87972D

#87972D is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.3% C 0.130 H 117.6°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#87972D
RGBrgb(135, 151, 45)
HSLhsl(69, 54%, 38%)
HSVhsv(69, 70%, 59%)
CMYKcmyk(10.6%, 0%, 70.2%, 40.8%)
CIE-LABlab(59.41, -20.24, 51.25)
CIE-LCHlch(59.41, 55.10, 111.55°)
OKLaboklab(64.32% -0.0602 0.1149)
OKLCHoklch(64.32% 0.13 117.6)
XYZxyz(21.5324, 27.4738, 6.6508)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87972D #3D2D97
analogous
#97722D #87972D #52972D
triadic
#87972D #2D8797 #972D87
tetradic
#87972D #2D9772 #3D2D97 #972D52
square
#87972D #2D9772 #3D2D97 #972D52
split-complementary
#87972D #2D5297 #722D97
monochromatic
#333911 #5D681F #87972D #B0C53C #C3D36B

Accessibility & contrast

On white

3.23
#87972D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#87972D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87972D
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87972D#FFFFFF#000000##000000
##87972D1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1C
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#8F8F82
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #87972d;
/* rgb */ color: rgb(135, 151, 45);
/* oklch */ color: oklch(64.3% 0.130 117.6);
Tailwind
colors: {
  custom: {
    50: '#adb56d',
    500: '#87972d',
    950: '#000000',
  },
}
SCSS
$custom: #87972d;
$custom-light: #adb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#87972d",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 69.057,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64315,
    "c": 0.12971,
    "h": 117.6
  },
  "luminance": 0.27474
}

Semantic roles & 50–950 ramp

primary
#87972D
secondary
#7366BA
accent
#4ADD61
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #87972D

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

Preview Lab → · Contrast checker → · Palette generator →

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