#87911D#87911D

#87911D is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.8% C 0.132 H 114.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#87911D
RGBrgb(135, 145, 29)
HSLhsl(65, 67%, 34%)
HSVhsv(65, 80%, 57%)
CMYKcmyk(6.9%, 0%, 80%, 43.1%)
CIE-LABlab(57.55, -17.96, 55.14)
CIE-LCHlch(57.55, 57.99, 108.04°)
OKLaboklab(62.79% -0.0553 0.1203)
OKLCHoklch(62.79% 0.132 114.7)
XYZxyz(20.3395, 25.4908, 5.0109)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87911D #271D91
analogous
#91611D #87911D #4D911D
triadic
#87911D #1D8791 #911D87
tetradic
#87911D #1D9161 #271D91 #911D4D
square
#87911D #1D9161 #271D91 #911D4D
split-complementary
#87911D #1D4D91 #611D91
monochromatic
#282B09 #585E13 #87911D #B6C427 #CFDB4D

Accessibility & contrast

On white

3.44
#87911D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#87911D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87911D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87911D#FFFFFF#000000##000000
##87911D1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#90887C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #87911d;
/* rgb */ color: rgb(135, 145, 29);
/* oklch */ color: oklch(62.8% 0.132 114.7);
Tailwind
colors: {
  custom: {
    50: '#adb164',
    500: '#87911d',
    950: '#000000',
  },
}
SCSS
$custom: #87911d;
$custom-light: #adb164;
$custom-dark: #000000;
JSON
{
  "hex": "#87911d",
  "rgb": {
    "r": 135,
    "g": 145,
    "b": 29
  },
  "hsl": {
    "h": 65.172,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62791,
    "c": 0.13237,
    "h": 114.7
  },
  "luminance": 0.2549
}

Semantic roles & 50–950 ramp

primary
#87911D
secondary
#564CBE
accent
#3EEA4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87911D

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

Preview Lab → · Contrast checker → · Palette generator →

#87911D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva