#87982B#87982B

#87982B is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.5% C 0.132 H 118.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#87982B
RGBrgb(135, 152, 43)
HSLhsl(69, 56%, 38%)
HSVhsv(69, 72%, 60%)
CMYKcmyk(11.2%, 0%, 71.7%, 40.4%)
CIE-LABlab(59.69, -20.87, 52.31)
CIE-LCHlch(59.69, 56.32, 111.75°)
OKLaboklab(64.54% -0.0621 0.1168)
OKLCHoklch(64.54% 0.132 118)
XYZxyz(21.6564, 27.7820, 6.5066)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87982B #3C2B98
analogous
#98722B #87982B #50982B
triadic
#87982B #2B8798 #982B87
tetradic
#87982B #2B9872 #3C2B98 #982B50
square
#87982B #2B9872 #3C2B98 #982B50
split-complementary
#87982B #2B5098 #722B98
monochromatic
#323910 #5D681E #87982B #B1C739 #C4D569

Accessibility & contrast

On white

3.20
#87982B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#87982B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87982B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87982B#FFFFFF#000000##000000
##87982B1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29018
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#8F9083
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #87982b;
/* rgb */ color: rgb(135, 152, 43);
/* oklch */ color: oklch(64.5% 0.132 118.0);
Tailwind
colors: {
  custom: {
    50: '#adb66c',
    500: '#87982b',
    950: '#000000',
  },
}
SCSS
$custom: #87982b;
$custom-light: #adb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#87982b",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 69.358,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64536,
    "c": 0.13228,
    "h": 118
  },
  "luminance": 0.27782
}

Semantic roles & 50–950 ramp

primary
#87982B
secondary
#7164BB
accent
#49DF60
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #87982B

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

Preview Lab → · Contrast checker → · Palette generator →

#87982B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva