#87951A#87951A

#87951A 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#87951A
RGBrgb(135, 149, 26)
HSLhsl(67, 70%, 34%)
HSVhsv(67, 83%, 58%)
CMYKcmyk(9.4%, 0%, 82.6%, 41.6%)
CIE-LABlab(58.71, -20.13, 57.05)
CIE-LCHlch(58.71, 60.49, 109.44°)
OKLaboklab(63.72% -0.0615 0.1238)
OKLCHoklch(63.72% 0.138 116.4)
XYZxyz(20.9262, 26.7207, 5.0323)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87951A #281A95
analogous
#95661A #87951A #4A951A
triadic
#87951A #1A8795 #951A87
tetradic
#87951A #1A9566 #281A95 #951A4A
square
#87951A #1A9566 #281A95 #951A4A
split-complementary
#87951A #1A4A95 #661A95
monochromatic
#292D08 #586111 #87951A #B6C923 #CEDF4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87951A#FFFFFF#000000##000000
##87951A1.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: #87951a;
/* rgb */ color: rgb(135, 149, 26);
/* oklch */ color: oklch(63.7% 0.138 116.4);
Tailwind
colors: {
  custom: {
    50: '#aeb464',
    500: '#87951a',
    950: '#000000',
  },
}
SCSS
$custom: #87951a;
$custom-light: #aeb464;
$custom-dark: #000000;
JSON
{
  "hex": "#87951a",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 66.829,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63722,
    "c": 0.13824,
    "h": 116.4
  },
  "luminance": 0.2672
}

Semantic roles & 50–950 ramp

primary
#87951A
secondary
#574AC1
accent
#3BED4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #87951A

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

Preview Lab → · Contrast checker → · Palette generator →

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