#87951B#87951B

#87951B is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.7% C 0.138 H 116.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#87951B
RGBrgb(135, 149, 27)
HSLhsl(67, 69%, 35%)
HSVhsv(67, 82%, 58%)
CMYKcmyk(9.4%, 0%, 81.9%, 41.6%)
CIE-LABlab(58.72, -20.09, 56.77)
CIE-LCHlch(58.72, 60.22, 109.49°)
OKLaboklab(63.73% -0.0613 0.1234)
OKLCHoklch(63.73% 0.138 116.4)
XYZxyz(20.9375, 26.7252, 5.0922)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87951B #291B95
analogous
#95661B #87951B #4A951B
triadic
#87951B #1B8795 #951B87
tetradic
#87951B #1B9566 #291B95 #951B4A
square
#87951B #1B9566 #291B95 #951B4A
split-complementary
#87951B #1B4A95 #661B95
monochromatic
#292D08 #586112 #87951B #B6C924 #CEDF4C

Accessibility & contrast

On white

3.31
#87951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#87951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87951B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87951B#FFFFFF#000000##000000
##87951B1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#908C7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #87951b;
/* rgb */ color: rgb(135, 149, 27);
/* oklch */ color: oklch(63.7% 0.138 116.4);
Tailwind
colors: {
  custom: {
    50: '#aeb464',
    500: '#87951b',
    950: '#000000',
  },
}
SCSS
$custom: #87951b;
$custom-light: #aeb464;
$custom-dark: #000000;
JSON
{
  "hex": "#87951b",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 66.885,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63727,
    "c": 0.13779,
    "h": 116.4
  },
  "luminance": 0.26725
}

Semantic roles & 50–950 ramp

primary
#87951B
secondary
#594BC1
accent
#3CEC50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87951B

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

Preview Lab → · Contrast checker → · Palette generator →

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