#87793D#87793D

#87793D is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.082 H 96.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#87793D
RGBrgb(135, 121, 61)
HSLhsl(49, 38%, 38%)
HSVhsv(49, 55%, 53%)
CMYKcmyk(0%, 10.4%, 54.8%, 47.1%)
CIE-LABlab(50.88, -2.89, 34.50)
CIE-LCHlch(50.88, 34.62, 94.79°)
OKLaboklab(57.56% -0.0092 0.0814)
OKLCHoklch(57.56% 0.082 96.5)
XYZxyz(17.6720, 19.1633, 7.1820)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87793D #3D4B87
analogous
#87543D #87793D #70873D
triadic
#87793D #3D8779 #793D87
tetradic
#87793D #3D8754 #3D4B87 #873D70
square
#87793D #3D8754 #3D4B87 #873D70
split-complementary
#87793D #3D7087 #543D87
monochromatic
#332D17 #5D532A #87793D #B09E51 #C3B67B

Accessibility & contrast

On white

4.35
#87793D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#87793D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87793D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87793D#FFFFFF#000000##000000
##87793D1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837638
Deuteranopia (green-blind)
#877B40
Tritanopia (blue-blind)
#91716B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #87793d;
/* rgb */ color: rgb(135, 121, 61);
/* oklch */ color: oklch(57.6% 0.082 96.5);
Tailwind
colors: {
  custom: {
    50: '#ac9f74',
    500: '#87793d',
    950: '#000000',
  },
}
SCSS
$custom: #87793d;
$custom-light: #ac9f74;
$custom-dark: #000000;
JSON
{
  "hex": "#87793d",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 61
  },
  "hsl": {
    "h": 48.649,
    "s": 37.755,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.08193,
    "h": 96.5
  },
  "luminance": 0.19163
}

Semantic roles & 50–950 ramp

primary
#87793D
secondary
#737EAD
accent
#70CE5A
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #87793D

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

Preview Lab → · Contrast checker → · Palette generator →

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