#87961C#87961C

#87961C is a light, vivid yellow. Relative luminance 0.270; 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#87961C
RGBrgb(135, 150, 28)
HSLhsl(67, 69%, 35%)
HSVhsv(67, 81%, 59%)
CMYKcmyk(10%, 0%, 81.3%, 41.2%)
CIE-LABlab(59.02, -20.57, 56.75)
CIE-LCHlch(59.02, 60.36, 109.92°)
OKLaboklab(63.97% -0.0626 0.1235)
OKLCHoklch(63.97% 0.138 116.9)
XYZxyz(21.1082, 27.0477, 5.2071)
Luminance0.2705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87961C #2B1C96
analogous
#96681C #87961C #4A961C
triadic
#87961C #1C8796 #961C87
tetradic
#87961C #1C9668 #2B1C96 #961C4A
square
#87961C #1C9668 #2B1C96 #961C4A
split-complementary
#87961C #1C4A96 #681C96
monochromatic
#2A2F09 #596212 #87961C #B5CA26 #CCDE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87961C#FFFFFF#000000##000000
##87961C1.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: #87961c;
/* rgb */ color: rgb(135, 150, 28);
/* oklch */ color: oklch(64.0% 0.138 116.9);
Tailwind
colors: {
  custom: {
    50: '#adb465',
    500: '#87961c',
    950: '#000000',
  },
}
SCSS
$custom: #87961c;
$custom-light: #adb465;
$custom-dark: #000000;
JSON
{
  "hex": "#87961c",
  "rgb": {
    "r": 135,
    "g": 150,
    "b": 28
  },
  "hsl": {
    "h": 67.377,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63969,
    "c": 0.13845,
    "h": 116.9
  },
  "luminance": 0.27047
}

Semantic roles & 50–950 ramp

primary
#87961C
secondary
#5B4DC1
accent
#3CEB52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87961C

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

Preview Lab → · Contrast checker → · Palette generator →

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