#87991F#87991F

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

Color values

HEX#87991F
RGBrgb(135, 153, 31)
HSLhsl(69, 66%, 36%)
HSVhsv(69, 80%, 60%)
CMYKcmyk(11.8%, 0%, 79.7%, 40%)
CIE-LABlab(59.92, -21.97, 56.66)
CIE-LCHlch(59.92, 60.77, 111.19°)
OKLaboklab(64.7% -0.0662 0.1239)
OKLCHoklch(64.7% 0.14 118.1)
XYZxyz(21.6307, 28.0325, 5.5674)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87991F #311F99
analogous
#996E1F #87991F #4A991F
triadic
#87991F #1F8799 #991F87
tetradic
#87991F #1F996E #311F99 #991F4A
square
#87991F #1F996E #311F99 #991F4A
split-complementary
#87991F #1F4A99 #6E1F99
monochromatic
#2D330A #5A6615 #87991F #B4CC29 #C9DD56

Accessibility & contrast

On white

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

On black

6.61
#87991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87991F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87991F#FFFFFF#000000##000000
##87991F1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87991f;
/* rgb */ color: rgb(135, 153, 31);
/* oklch */ color: oklch(64.7% 0.140 118.1);
Tailwind
colors: {
  custom: {
    50: '#adb766',
    500: '#87991f',
    950: '#000000',
  },
}
SCSS
$custom: #87991f;
$custom-light: #adb766;
$custom-dark: #000000;
JSON
{
  "hex": "#87991f",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 68.852,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64697,
    "c": 0.14045,
    "h": 118.1
  },
  "luminance": 0.28032
}

Semantic roles & 50–950 ramp

primary
#87991F
secondary
#6454C0
accent
#3FE958
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87991F

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

Preview Lab → · Contrast checker → · Palette generator →

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