#87792E#87792E

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

Color values

HEX#87792E
RGBrgb(135, 121, 46)
HSLhsl(51, 49%, 35%)
HSVhsv(51, 66%, 53%)
CMYKcmyk(0%, 10.4%, 65.9%, 47.1%)
CIE-LABlab(50.71, -4.08, 41.80)
CIE-LCHlch(50.71, 42.00, 95.57°)
OKLaboklab(57.38% -0.0145 0.0951)
OKLCHoklch(57.38% 0.096 98.7)
XYZxyz(17.3229, 19.0237, 5.3437)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87792E #2E3C87
analogous
#874C2E #87792E #68872E
triadic
#87792E #2E8779 #792E87
tetradic
#87792E #2E874C #2E3C87 #872E68
square
#87792E #2E874C #2E3C87 #872E68
split-complementary
#87792E #2E6887 #4C2E87
monochromatic
#2C270F #59501E #87792E #B5A23E #CABB65

Accessibility & contrast

On white

4.37
#87792E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87792E#FFFFFF#000000##000000
##87792E1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87792e;
/* rgb */ color: rgb(135, 121, 46);
/* oklch */ color: oklch(57.4% 0.096 98.7);
Tailwind
colors: {
  custom: {
    50: '#ad9f6a',
    500: '#87792e',
    950: '#000000',
  },
}
SCSS
$custom: #87792e;
$custom-light: #ad9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#87792e",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 50.562,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.09623,
    "h": 98.7
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

primary
#87792E
secondary
#606CB1
accent
#65D94F
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #87792E

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

Preview Lab → · Contrast checker → · Palette generator →

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