#87833B#87833B

#87833B is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.094 H 106.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#87833B
RGBrgb(135, 131, 59)
HSLhsl(57, 39%, 38%)
HSVhsv(57, 56%, 53%)
CMYKcmyk(0%, 3%, 56.3%, 47.1%)
CIE-LABlab(53.71, -8.63, 38.83)
CIE-LCHlch(53.71, 39.77, 102.54°)
OKLaboklab(59.79% -0.026 0.0906)
OKLCHoklch(59.79% 0.094 106)
XYZxyz(18.8979, 21.6998, 7.3298)
Luminance0.2170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87833B #3B3F87
analogous
#875D3B #87833B #65873B
triadic
#87833B #3B8783 #833B87
tetradic
#87833B #3B875D #3B3F87 #873B65
square
#87833B #3B875D #3B3F87 #873B65
split-complementary
#87833B #3B6587 #5D3B87
monochromatic
#323016 #5C5A28 #87833B #B2AC4E #C4C078

Accessibility & contrast

On white

3.93
#87833B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#87833B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87833B
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87833B#FFFFFF#000000##000000
##87833B1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F34
Deuteranopia (green-blind)
#8F823F
Tritanopia (blue-blind)
#907B73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #87833b;
/* rgb */ color: rgb(135, 131, 59);
/* oklch */ color: oklch(59.8% 0.094 106.0);
Tailwind
colors: {
  custom: {
    50: '#aca673',
    500: '#87833b',
    950: '#000000',
  },
}
SCSS
$custom: #87833b;
$custom-light: #aca673;
$custom-dark: #000000;
JSON
{
  "hex": "#87833b",
  "rgb": {
    "r": 135,
    "g": 131,
    "b": 59
  },
  "hsl": {
    "h": 56.842,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.09421,
    "h": 106
  },
  "luminance": 0.21699
}

Semantic roles & 50–950 ramp

primary
#87833B
secondary
#7073AE
accent
#5FCF59
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#100F08
muted
#7F7F7B

Preview Lab

Preview with #87833B

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

Preview Lab → · Contrast checker → · Palette generator →

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