#87961E#87961E

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

Color values

HEX#87961E
RGBrgb(135, 150, 30)
HSLhsl(68, 67%, 35%)
HSVhsv(68, 80%, 59%)
CMYKcmyk(10%, 0%, 80%, 41.2%)
CIE-LABlab(59.03, -20.49, 56.16)
CIE-LCHlch(59.03, 59.78, 110.04°)
OKLaboklab(63.98% -0.0622 0.1226)
OKLCHoklch(63.98% 0.138 116.9)
XYZxyz(21.1329, 27.0576, 5.3374)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87961E #2D1E96
analogous
#96691E #87961E #4B961E
triadic
#87961E #1E8796 #961E87
tetradic
#87961E #1E9669 #2D1E96 #961E4B
square
#87961E #1E9669 #2D1E96 #961E4B
split-complementary
#87961E #1E4B96 #691E96
monochromatic
#2B300A #596314 #87961E #B5C928 #CBDC52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87961E#FFFFFF#000000##000000
##87961E1.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)
#9F8F2A
Tritanopia (blue-blind)
#908D80
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #87961e;
/* rgb */ color: rgb(135, 150, 30);
/* oklch */ color: oklch(64.0% 0.138 116.9);
Tailwind
colors: {
  custom: {
    50: '#adb465',
    500: '#87961e',
    950: '#000000',
  },
}
SCSS
$custom: #87961e;
$custom-light: #adb465;
$custom-dark: #000000;
JSON
{
  "hex": "#87961e",
  "rgb": {
    "r": 135,
    "g": 150,
    "b": 30
  },
  "hsl": {
    "h": 67.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63979,
    "c": 0.1375,
    "h": 116.9
  },
  "luminance": 0.27057
}

Semantic roles & 50–950 ramp

primary
#87961E
secondary
#5E50BF
accent
#3EEA54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87961E

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

Preview Lab → · Contrast checker → · Palette generator →

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