#87991D#87991D

#87991D is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.141 H 118.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#87991D
RGBrgb(135, 153, 29)
HSLhsl(69, 68%, 36%)
HSVhsv(69, 81%, 60%)
CMYKcmyk(11.8%, 0%, 81%, 40%)
CIE-LABlab(59.91, -22.05, 57.25)
CIE-LCHlch(59.91, 61.35, 111.06°)
OKLaboklab(64.69% -0.0666 0.1248)
OKLCHoklch(64.69% 0.141 118.1)
XYZxyz(21.6052, 28.0223, 5.4328)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87991D #2F1D99
analogous
#996D1D #87991D #49991D
triadic
#87991D #1D8799 #991D87
tetradic
#87991D #1D996D #2F1D99 #991D49
square
#87991D #1D996D #2F1D99 #991D49
split-complementary
#87991D #1D4999 #6D1D99
monochromatic
#2C3209 #5A6613 #87991D #B4CC27 #CADE52

Accessibility & contrast

On white

3.18
#87991D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#87991D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87991D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87991D#FFFFFF#000000##000000
##87991D1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#909083
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #87991d;
/* rgb */ color: rgb(135, 153, 29);
/* oklch */ color: oklch(64.7% 0.141 118.1);
Tailwind
colors: {
  custom: {
    50: '#aeb765',
    500: '#87991d',
    950: '#000000',
  },
}
SCSS
$custom: #87991d;
$custom-light: #aeb765;
$custom-dark: #000000;
JSON
{
  "hex": "#87991d",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 29
  },
  "hsl": {
    "h": 68.71,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.64687,
    "c": 0.14141,
    "h": 118.1
  },
  "luminance": 0.28022
}

Semantic roles & 50–950 ramp

primary
#87991D
secondary
#6151C1
accent
#3DEB56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87991D

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

Preview Lab → · Contrast checker → · Palette generator →

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