#87792D#87792D

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

Color values

HEX#87792D
RGBrgb(135, 121, 45)
HSLhsl(51, 50%, 35%)
HSVhsv(51, 67%, 53%)
CMYKcmyk(0%, 10.4%, 66.7%, 47.1%)
CIE-LABlab(50.71, -4.15, 42.26)
CIE-LCHlch(50.71, 42.46, 95.60°)
OKLaboklab(57.37% -0.0149 0.0959)
OKLCHoklch(57.37% 0.097 98.8)
XYZxyz(17.3034, 19.0159, 5.2411)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87792D #2D3B87
analogous
#874C2D #87792D #68872D
triadic
#87792D #2D8779 #792D87
tetradic
#87792D #2D874C #2D3B87 #872D68
square
#87792D #2D874C #2D3B87 #872D68
split-complementary
#87792D #2D6887 #4C2D87
monochromatic
#2B270E #59501E #87792D #B5A23C #CBBB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87792D#FFFFFF#000000##000000
##87792D1.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)
#857624
Deuteranopia (green-blind)
#887B31
Tritanopia (blue-blind)
#917069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #87792d;
/* rgb */ color: rgb(135, 121, 45);
/* oklch */ color: oklch(57.4% 0.097 98.8);
Tailwind
colors: {
  custom: {
    50: '#ad9f6a',
    500: '#87792d',
    950: '#000000',
  },
}
SCSS
$custom: #87792d;
$custom-light: #ad9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#87792d",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 50.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57365,
    "c": 0.09707,
    "h": 98.8
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#87792D
secondary
#5E6BB2
accent
#64DA4E
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #87792D

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

Preview Lab → · Contrast checker → · Palette generator →

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