#87961B#87961B

#87961B is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.0% C 0.139 H 116.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#87961B
RGBrgb(135, 150, 27)
HSLhsl(67, 69%, 35%)
HSVhsv(67, 82%, 59%)
CMYKcmyk(10%, 0%, 82%, 41.2%)
CIE-LABlab(59.01, -20.60, 57.03)
CIE-LCHlch(59.01, 60.64, 109.86°)
OKLaboklab(63.96% -0.0627 0.1239)
OKLCHoklch(63.96% 0.139 116.9)
XYZxyz(21.0964, 27.0430, 5.1452)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87961B #2A1B96
analogous
#96681B #87961B #4A961B
triadic
#87961B #1B8796 #961B87
tetradic
#87961B #1B9668 #2A1B96 #961B4A
square
#87961B #1B9668 #2A1B96 #961B4A
split-complementary
#87961B #1B4A96 #681B96
monochromatic
#2A2E08 #586212 #87961B #B6CA24 #CDDF4D

Accessibility & contrast

On white

3.28
#87961B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#87961B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87961B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87961B#FFFFFF#000000##000000
##87961B1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9F8F28
Tritanopia (blue-blind)
#908D80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #87961b;
/* rgb */ color: rgb(135, 150, 27);
/* oklch */ color: oklch(64.0% 0.139 116.9);
Tailwind
colors: {
  custom: {
    50: '#aeb464',
    500: '#87961b',
    950: '#000000',
  },
}
SCSS
$custom: #87961b;
$custom-light: #aeb464;
$custom-dark: #000000;
JSON
{
  "hex": "#87961b",
  "rgb": {
    "r": 135,
    "g": 150,
    "b": 27
  },
  "hsl": {
    "h": 67.317,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63964,
    "c": 0.13892,
    "h": 116.9
  },
  "luminance": 0.27043
}

Semantic roles & 50–950 ramp

primary
#87961B
secondary
#5A4CC1
accent
#3BEC51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87961B

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

Preview Lab → · Contrast checker → · Palette generator →

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