#87991C#87991C

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

Color values

HEX#87991C
RGBrgb(135, 153, 28)
HSLhsl(69, 69%, 35%)
HSVhsv(69, 82%, 60%)
CMYKcmyk(11.8%, 0%, 81.7%, 40%)
CIE-LABlab(59.90, -22.08, 57.53)
CIE-LCHlch(59.90, 61.62, 111.00°)
OKLaboklab(64.68% -0.0667 0.1252)
OKLCHoklch(64.68% 0.142 118.1)
XYZxyz(21.5930, 28.0174, 5.3688)
Luminance0.2802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87991C #2E1C99
analogous
#996C1C #87991C #48991C
triadic
#87991C #1C8799 #991C87
tetradic
#87991C #1C996C #2E1C99 #991C48
square
#87991C #1C996C #2E1C99 #991C48
split-complementary
#87991C #1C4899 #6C1C99
monochromatic
#2C3209 #596513 #87991C #B5CD25 #CADF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87991C#FFFFFF#000000##000000
##87991C1.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)
#A29129
Tritanopia (blue-blind)
#909082
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #87991c;
/* rgb */ color: rgb(135, 153, 28);
/* oklch */ color: oklch(64.7% 0.142 118.1);
Tailwind
colors: {
  custom: {
    50: '#aeb765',
    500: '#87991c',
    950: '#000000',
  },
}
SCSS
$custom: #87991c;
$custom-light: #aeb765;
$custom-dark: #000000;
JSON
{
  "hex": "#87991c",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 68.64,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64682,
    "c": 0.14187,
    "h": 118.1
  },
  "luminance": 0.28017
}

Semantic roles & 50–950 ramp

primary
#87991C
secondary
#604FC2
accent
#3CEC55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87991C

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

Preview Lab → · Contrast checker → · Palette generator →

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