#87792A#87792A

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

Color values

HEX#87792A
RGBrgb(135, 121, 42)
HSLhsl(51, 53%, 35%)
HSVhsv(51, 69%, 53%)
CMYKcmyk(0%, 10.4%, 68.9%, 47.1%)
CIE-LABlab(50.68, -4.34, 43.60)
CIE-LCHlch(50.68, 43.81, 95.68°)
OKLaboklab(57.34% -0.0158 0.0983)
OKLCHoklch(57.34% 0.1 99.1)
XYZxyz(17.2477, 18.9936, 4.9477)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87792A #2A3887
analogous
#874B2A #87792A #66872A
triadic
#87792A #2A8779 #792A87
tetradic
#87792A #2A874B #2A3887 #872A66
square
#87792A #2A874B #2A3887 #872A66
split-complementary
#87792A #2A6687 #4B2A87
monochromatic
#2A250D #584F1B #87792A #B6A339 #CDBC5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87792A#FFFFFF#000000##000000
##87792A1.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)
#857620
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#927069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #87792a;
/* rgb */ color: rgb(135, 121, 42);
/* oklch */ color: oklch(57.3% 0.100 99.1);
Tailwind
colors: {
  custom: {
    50: '#ad9f68',
    500: '#87792a',
    950: '#000000',
  },
}
SCSS
$custom: #87792a;
$custom-light: #ad9f68;
$custom-dark: #000000;
JSON
{
  "hex": "#87792a",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 50.968,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.57336,
    "c": 0.09951,
    "h": 99.1
  },
  "luminance": 0.18993
}

Semantic roles & 50–950 ramp

primary
#87792A
secondary
#5A67B3
accent
#62DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87792A

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

Preview Lab → · Contrast checker → · Palette generator →

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