#87792B#87792B

#87792B is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.3% C 0.099 H 99.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#87792B
RGBrgb(135, 121, 43)
HSLhsl(51, 52%, 35%)
HSVhsv(51, 68%, 53%)
CMYKcmyk(0%, 10.4%, 68.1%, 47.1%)
CIE-LABlab(50.69, -4.28, 43.15)
CIE-LCHlch(50.69, 43.37, 95.66°)
OKLaboklab(57.35% -0.0155 0.0975)
OKLCHoklch(57.35% 0.099 99)
XYZxyz(17.2658, 19.0009, 5.0431)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87792B #2B3987
analogous
#874B2B #87792B #67872B
triadic
#87792B #2B8779 #792B87
tetradic
#87792B #2B874B #2B3987 #872B67
square
#87792B #2B874B #2B3987 #872B67
split-complementary
#87792B #2B6787 #4B2B87
monochromatic
#2A260D #594F1C #87792B #B5A33A #CCBC60

Accessibility & contrast

On white

4.38
#87792B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#87792B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87792B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87792B#FFFFFF#000000##000000
##87792B1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#857621
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#917069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #87792b;
/* rgb */ color: rgb(135, 121, 43);
/* oklch */ color: oklch(57.3% 0.099 99.0);
Tailwind
colors: {
  custom: {
    50: '#ad9f69',
    500: '#87792b',
    950: '#000000',
  },
}
SCSS
$custom: #87792b;
$custom-light: #ad9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#87792b",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 50.87,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57345,
    "c": 0.09871,
    "h": 99
  },
  "luminance": 0.19
}

Semantic roles & 50–950 ramp

primary
#87792B
secondary
#5B69B2
accent
#62DB4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87792B

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

Preview Lab → · Contrast checker → · Palette generator →

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