#87961D#87961D

#87961D 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#87961D
RGBrgb(135, 150, 29)
HSLhsl(67, 68%, 35%)
HSVhsv(67, 81%, 59%)
CMYKcmyk(10%, 0%, 80.7%, 41.2%)
CIE-LABlab(59.02, -20.53, 56.46)
CIE-LCHlch(59.02, 60.07, 109.98°)
OKLaboklab(63.97% -0.0624 0.1231)
OKLCHoklch(63.97% 0.138 116.9)
XYZxyz(21.1204, 27.0526, 5.2712)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87961D #2C1D96
analogous
#96681D #87961D #4A961D
triadic
#87961D #1D8796 #961D87
tetradic
#87961D #1D9668 #2C1D96 #961D4A
square
#87961D #1D9668 #2C1D96 #961D4A
split-complementary
#87961D #1D4A96 #681D96
monochromatic
#2B2F09 #596313 #87961D #B5C927 #CCDD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #87961d;
/* rgb */ color: rgb(135, 150, 29);
/* oklch */ color: oklch(64.0% 0.138 116.9);
Tailwind
colors: {
  custom: {
    50: '#adb465',
    500: '#87961d',
    950: '#000000',
  },
}
SCSS
$custom: #87961d;
$custom-light: #adb465;
$custom-dark: #000000;
JSON
{
  "hex": "#87961d",
  "rgb": {
    "r": 135,
    "g": 150,
    "b": 29
  },
  "hsl": {
    "h": 67.438,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63974,
    "c": 0.13799,
    "h": 116.9
  },
  "luminance": 0.27052
}

Semantic roles & 50–950 ramp

primary
#87961D
secondary
#5D4FC0
accent
#3DEA53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87961D

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

Preview Lab → · Contrast checker → · Palette generator →

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