#87992A#87992A

#87992A is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.8% C 0.134 H 118.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#87992A
RGBrgb(135, 153, 42)
HSLhsl(70, 57%, 38%)
HSVhsv(70, 73%, 60%)
CMYKcmyk(11.8%, 0%, 72.5%, 40%)
CIE-LABlab(59.98, -21.43, 52.97)
CIE-LCHlch(59.98, 57.14, 112.03°)
OKLaboklab(64.77% -0.0638 0.118)
OKLCHoklch(64.77% 0.134 118.4)
XYZxyz(21.8013, 28.1007, 6.4655)
Luminance0.2810 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87992A #3C2A99
analogous
#99732A #87992A #4F992A
triadic
#87992A #2A8799 #992A87
tetradic
#87992A #2A9973 #3C2A99 #992A4F
square
#87992A #2A9973 #3C2A99 #992A4F
split-complementary
#87992A #2A4F99 #732A99
monochromatic
#323910 #5D691D #87992A #B1C838 #C4D668

Accessibility & contrast

On white

3.17
#87992A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#87992A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87992A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87992A#FFFFFF#000000##000000
##87992A1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39016
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#8F9083
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #87992a;
/* rgb */ color: rgb(135, 153, 42);
/* oklch */ color: oklch(64.8% 0.134 118.4);
Tailwind
colors: {
  custom: {
    50: '#adb76b',
    500: '#87992a',
    950: '#000000',
  },
}
SCSS
$custom: #87992a;
$custom-light: #adb76b;
$custom-dark: #000000;
JSON
{
  "hex": "#87992a",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 69.73,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64766,
    "c": 0.13414,
    "h": 118.4
  },
  "luminance": 0.28101
}

Semantic roles & 50–950 ramp

primary
#87992A
secondary
#7163BC
accent
#48E060
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #87992A

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

Preview Lab → · Contrast checker → · Palette generator →

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