#87972E#87972E

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

Color values

HEX#87972E
RGBrgb(135, 151, 46)
HSLhsl(69, 53%, 39%)
HSVhsv(69, 70%, 59%)
CMYKcmyk(10.6%, 0%, 69.5%, 40.8%)
CIE-LABlab(59.42, -20.18, 50.86)
CIE-LCHlch(59.42, 54.72, 111.64°)
OKLaboklab(64.32% -0.0599 0.1142)
OKLCHoklch(64.32% 0.129 117.7)
XYZxyz(21.5519, 27.4816, 6.7534)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87972E #3E2E97
analogous
#97722E #87972E #52972E
triadic
#87972E #2E8797 #972E87
tetradic
#87972E #2E9772 #3E2E97 #972E52
square
#87972E #2E9772 #3E2E97 #972E52
split-complementary
#87972E #2E5297 #722E97
monochromatic
#333911 #5D6820 #87972E #B0C43E #C3D26D

Accessibility & contrast

On white

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

On black

6.50
#87972E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87972E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87972E#FFFFFF#000000##000000
##87972E1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1E
Deuteranopia (green-blind)
#9F9036
Tritanopia (blue-blind)
#8F8F82
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #87972e;
/* rgb */ color: rgb(135, 151, 46);
/* oklch */ color: oklch(64.3% 0.129 117.7);
Tailwind
colors: {
  custom: {
    50: '#adb56d',
    500: '#87972e',
    950: '#000000',
  },
}
SCSS
$custom: #87972e;
$custom-light: #adb56d;
$custom-dark: #000000;
JSON
{
  "hex": "#87972e",
  "rgb": {
    "r": 135,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 69.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64323,
    "c": 0.129,
    "h": 117.7
  },
  "luminance": 0.27481
}

Semantic roles & 50–950 ramp

primary
#87972E
secondary
#7467BA
accent
#4BDD61
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #87972E

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

Preview Lab → · Contrast checker → · Palette generator →

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