#87991A#87991A

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

Color values

HEX#87991A
RGBrgb(135, 153, 26)
HSLhsl(69, 71%, 35%)
HSVhsv(69, 83%, 60%)
CMYKcmyk(11.8%, 0%, 83%, 40%)
CIE-LABlab(59.90, -22.16, 58.08)
CIE-LCHlch(59.90, 62.16, 110.88°)
OKLaboklab(64.67% -0.0671 0.126)
OKLCHoklch(64.67% 0.143 118)
XYZxyz(21.5699, 28.0082, 5.2469)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87991A #2C1A99
analogous
#996C1A #87991A #47991A
triadic
#87991A #1A8799 #991A87
tetradic
#87991A #1A996C #2C1A99 #991A47
square
#87991A #1A996C #2C1A99 #991A47
split-complementary
#87991A #1A4799 #6C1A99
monochromatic
#2B3008 #596511 #87991A #B5CD23 #CCE14D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87991a;
/* rgb */ color: rgb(135, 153, 26);
/* oklch */ color: oklch(64.7% 0.143 118.0);
Tailwind
colors: {
  custom: {
    50: '#aeb764',
    500: '#87991a',
    950: '#000000',
  },
}
SCSS
$custom: #87991a;
$custom-light: #aeb764;
$custom-dark: #000000;
JSON
{
  "hex": "#87991a",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 26
  },
  "hsl": {
    "h": 68.504,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64672,
    "c": 0.14275,
    "h": 118
  },
  "luminance": 0.28008
}

Semantic roles & 50–950 ramp

primary
#87991A
secondary
#5D4CC3
accent
#3AEE54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87991A

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

Preview Lab → · Contrast checker → · Palette generator →

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