#87982A#87982A

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

Color values

HEX#87982A
RGBrgb(135, 152, 42)
HSLhsl(69, 57%, 38%)
HSVhsv(69, 72%, 60%)
CMYKcmyk(11.2%, 0%, 72.4%, 40.4%)
CIE-LABlab(59.68, -20.92, 52.68)
CIE-LCHlch(59.68, 56.69, 111.66°)
OKLaboklab(64.53% -0.0624 0.1174)
OKLCHoklch(64.53% 0.133 118)
XYZxyz(21.6383, 27.7747, 6.4112)
Luminance0.2777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87982A #3B2A98
analogous
#98722A #87982A #50982A
triadic
#87982A #2A8798 #982A87
tetradic
#87982A #2A9872 #3B2A98 #982A50
square
#87982A #2A9872 #3B2A98 #982A50
split-complementary
#87982A #2A5098 #722A98
monochromatic
#323810 #5C681D #87982A #B2C837 #C4D567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87982A#FFFFFF#000000##000000
##87982A1.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)
#A29017
Deuteranopia (green-blind)
#A09033
Tritanopia (blue-blind)
#8F8F83
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #87982a;
/* rgb */ color: rgb(135, 152, 42);
/* oklch */ color: oklch(64.5% 0.133 118.0);
Tailwind
colors: {
  custom: {
    50: '#adb66b',
    500: '#87982a',
    950: '#000000',
  },
}
SCSS
$custom: #87982a;
$custom-light: #adb66b;
$custom-dark: #000000;
JSON
{
  "hex": "#87982a",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 69.273,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64529,
    "c": 0.13294,
    "h": 118
  },
  "luminance": 0.27775
}

Semantic roles & 50–950 ramp

primary
#87982A
secondary
#7062BB
accent
#48E05F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #87982A

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

Preview Lab → · Contrast checker → · Palette generator →

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