#87981E#87981E

#87981E is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.5% C 0.140 H 117.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#87981E
RGBrgb(135, 152, 30)
HSLhsl(68, 67%, 36%)
HSVhsv(68, 80%, 60%)
CMYKcmyk(11.2%, 0%, 80.3%, 40.4%)
CIE-LABlab(59.62, -21.50, 56.69)
CIE-LCHlch(59.62, 60.63, 110.77°)
OKLaboklab(64.45% -0.065 0.1238)
OKLCHoklch(64.45% 0.14 117.7)
XYZxyz(21.4548, 27.7013, 5.4447)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87981E #2F1E98
analogous
#986C1E #87981E #4A981E
triadic
#87981E #1E8798 #981E87
tetradic
#87981E #1E986C #2F1E98 #981E4A
square
#87981E #1E986C #2F1E98 #981E4A
split-complementary
#87981E #1E4A98 #6C1E98
monochromatic
#2C320A #5A6514 #87981E #B4CB28 #CADD53

Accessibility & contrast

On white

3.21
#87981E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#87981E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87981E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87981E#FFFFFF#000000##000000
##87981E1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#908F82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #87981e;
/* rgb */ color: rgb(135, 152, 30);
/* oklch */ color: oklch(64.5% 0.140 117.7);
Tailwind
colors: {
  custom: {
    50: '#adb666',
    500: '#87981e',
    950: '#000000',
  },
}
SCSS
$custom: #87981e;
$custom-light: #adb666;
$custom-dark: #000000;
JSON
{
  "hex": "#87981e",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 68.361,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64454,
    "c": 0.13979,
    "h": 117.7
  },
  "luminance": 0.27701
}

Semantic roles & 50–950 ramp

primary
#87981E
secondary
#6151C0
accent
#3EEA56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87981E

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

Preview Lab → · Contrast checker → · Palette generator →

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