#87931A#87931A

#87931A is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.2% C 0.136 H 115.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#87931A
RGBrgb(135, 147, 26)
HSLhsl(66, 70%, 34%)
HSVhsv(66, 82%, 58%)
CMYKcmyk(8.2%, 0%, 82.3%, 42.4%)
CIE-LABlab(58.13, -19.11, 56.53)
CIE-LCHlch(58.13, 59.67, 108.67°)
OKLaboklab(63.25% -0.0587 0.1227)
OKLCHoklch(63.25% 0.136 115.6)
XYZxyz(20.6124, 26.0933, 4.9277)
Luminance0.2609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87931A #261A93
analogous
#93631A #87931A #4B931A
triadic
#87931A #1A8793 #931A87
tetradic
#87931A #1A9363 #261A93 #931A4B
square
#87931A #1A9363 #261A93 #931A4B
split-complementary
#87931A #1A4B93 #631A93
monochromatic
#272B08 #575F11 #87931A #B7C723 #D0DF49

Accessibility & contrast

On white

3.38
#87931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#87931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87931A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87931A#FFFFFF#000000##000000
##87931A1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9D8D26
Tritanopia (blue-blind)
#908A7D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #87931a;
/* rgb */ color: rgb(135, 147, 26);
/* oklch */ color: oklch(63.2% 0.136 115.6);
Tailwind
colors: {
  custom: {
    50: '#aeb263',
    500: '#87931a',
    950: '#000000',
  },
}
SCSS
$custom: #87931a;
$custom-light: #aeb263;
$custom-dark: #000000;
JSON
{
  "hex": "#87931a",
  "rgb": {
    "r": 135,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 65.95,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63249,
    "c": 0.13601,
    "h": 115.6
  },
  "luminance": 0.26093
}

Semantic roles & 50–950 ramp

primary
#87931A
secondary
#5448C0
accent
#3BED4D
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87931A

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

Preview Lab → · Contrast checker → · Palette generator →

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