#87991B#87991B

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

Color values

HEX#87991B
RGBrgb(135, 153, 27)
HSLhsl(69, 70%, 35%)
HSVhsv(69, 82%, 60%)
CMYKcmyk(11.8%, 0%, 82.4%, 40%)
CIE-LABlab(59.90, -22.12, 57.81)
CIE-LCHlch(59.90, 61.89, 110.94°)
OKLaboklab(64.68% -0.0669 0.1256)
OKLCHoklch(64.68% 0.142 118)
XYZxyz(21.5813, 28.0127, 5.3068)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87991B #2D1B99
analogous
#996C1B #87991B #48991B
triadic
#87991B #1B8799 #991B87
tetradic
#87991B #1B996C #2D1B99 #991B48
square
#87991B #1B996C #2D1B99 #991B48
split-complementary
#87991B #1B4899 #6C1B99
monochromatic
#2B3109 #596512 #87991B #B5CD24 #CBE04F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87991B#FFFFFF#000000##000000
##87991B1.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: #87991b;
/* rgb */ color: rgb(135, 153, 27);
/* oklch */ color: oklch(64.7% 0.142 118.0);
Tailwind
colors: {
  custom: {
    50: '#aeb765',
    500: '#87991b',
    950: '#000000',
  },
}
SCSS
$custom: #87991b;
$custom-light: #aeb765;
$custom-dark: #000000;
JSON
{
  "hex": "#87991b",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 68.571,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64677,
    "c": 0.14232,
    "h": 118
  },
  "luminance": 0.28012
}

Semantic roles & 50–950 ramp

primary
#87991B
secondary
#5E4EC2
accent
#3BED54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87991B

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

Preview Lab → · Contrast checker → · Palette generator →

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