#87831A#87831A

#87831A is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.5% C 0.119 H 107.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#87831A
RGBrgb(135, 131, 26)
HSLhsl(58, 68%, 32%)
HSVhsv(58, 81%, 53%)
CMYKcmyk(0%, 3%, 80.7%, 47.1%)
CIE-LABlab(53.45, -10.65, 52.40)
CIE-LCHlch(53.45, 53.47, 101.49°)
OKLaboklab(59.5% -0.0353 0.1138)
OKLCHoklch(59.5% 0.119 107.2)
XYZxyz(18.2952, 21.4587, 4.1553)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87831A #1A1E87
analogous
#874D1A #87831A #55871A
triadic
#87831A #1A8783 #831A87
tetradic
#87831A #1A874D #1A1E87 #871A55
square
#87831A #1A874D #1A1E87 #871A55
split-complementary
#87831A #1A5587 #4D1A87
monochromatic
#201F06 #545110 #87831A #BAB524 #DAD541

Accessibility & contrast

On white

3.97
#87831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#87831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87831A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87831A#FFFFFF#000000##000000
##87831A1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#918123
Tritanopia (blue-blind)
#917A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #87831a;
/* rgb */ color: rgb(135, 131, 26);
/* oklch */ color: oklch(59.5% 0.119 107.2);
Tailwind
colors: {
  custom: {
    50: '#ada661',
    500: '#87831a',
    950: '#000000',
  },
}
SCSS
$custom: #87831a;
$custom-light: #ada661;
$custom-dark: #000000;
JSON
{
  "hex": "#87831a",
  "rgb": {
    "r": 135,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 57.798,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59504,
    "c": 0.11918,
    "h": 107.2
  },
  "luminance": 0.21458
}

Semantic roles & 50–950 ramp

primary
#87831A
secondary
#4247BA
accent
#44EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #87831A

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

Preview Lab → · Contrast checker → · Palette generator →

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