#87911F#87911F

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

Color values

HEX#87911F
RGBrgb(135, 145, 31)
HSLhsl(65, 65%, 35%)
HSVhsv(65, 79%, 57%)
CMYKcmyk(6.9%, 0%, 78.6%, 43.1%)
CIE-LABlab(57.56, -17.88, 54.52)
CIE-LCHlch(57.56, 57.38, 108.15°)
OKLaboklab(62.8% -0.0549 0.1193)
OKLCHoklch(62.8% 0.131 114.7)
XYZxyz(20.3650, 25.5010, 5.1454)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87911F #291F91
analogous
#91621F #87911F #4E911F
triadic
#87911F #1F8791 #911F87
tetradic
#87911F #1F9162 #291F91 #911F4E
square
#87911F #1F9162 #291F91 #911F4E
split-complementary
#87911F #1F4E91 #621F91
monochromatic
#292C09 #585F14 #87911F #B6C32A #CEDA51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87911F#FFFFFF#000000##000000
##87911F1.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)
#9B8B29
Tritanopia (blue-blind)
#90887C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #87911f;
/* rgb */ color: rgb(135, 145, 31);
/* oklch */ color: oklch(62.8% 0.131 114.7);
Tailwind
colors: {
  custom: {
    50: '#adb165',
    500: '#87911f',
    950: '#000000',
  },
}
SCSS
$custom: #87911f;
$custom-light: #adb165;
$custom-dark: #000000;
JSON
{
  "hex": "#87911f",
  "rgb": {
    "r": 135,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 65.263,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62802,
    "c": 0.13135,
    "h": 114.7
  },
  "luminance": 0.25501
}

Semantic roles & 50–950 ramp

primary
#87911F
secondary
#594FBD
accent
#40E84F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87911F

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

Preview Lab → · Contrast checker → · Palette generator →

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