#87792C#87792C

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

Color values

HEX#87792C
RGBrgb(135, 121, 44)
HSLhsl(51, 51%, 35%)
HSVhsv(51, 67%, 53%)
CMYKcmyk(0%, 10.4%, 67.4%, 47.1%)
CIE-LABlab(50.70, -4.21, 42.71)
CIE-LCHlch(50.70, 42.92, 95.63°)
OKLaboklab(57.36% -0.0152 0.0967)
OKLCHoklch(57.36% 0.098 98.9)
XYZxyz(17.2844, 19.0083, 5.1409)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87792C #2C3A87
analogous
#874B2C #87792C #68872C
triadic
#87792C #2C8779 #792C87
tetradic
#87792C #2C874B #2C3A87 #872C68
square
#87792C #2C874B #2C3A87 #872C68
split-complementary
#87792C #2C6887 #4B2C87
monochromatic
#2B260E #59501D #87792C #B5A23B #CCBB62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87792C#FFFFFF#000000##000000
##87792C1.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)
#857622
Deuteranopia (green-blind)
#887B30
Tritanopia (blue-blind)
#917069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #87792c;
/* rgb */ color: rgb(135, 121, 44);
/* oklch */ color: oklch(57.4% 0.098 98.9);
Tailwind
colors: {
  custom: {
    50: '#ad9f69',
    500: '#87792c',
    950: '#000000',
  },
}
SCSS
$custom: #87792c;
$custom-light: #ad9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#87792c",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 50.769,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57355,
    "c": 0.09789,
    "h": 98.9
  },
  "luminance": 0.19007
}

Semantic roles & 50–950 ramp

primary
#87792C
secondary
#5D6AB2
accent
#63DA4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87792C

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

Preview Lab → · Contrast checker → · Palette generator →

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