#87793E#87793E

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

Color values

HEX#87793E
RGBrgb(135, 121, 62)
HSLhsl(48, 37%, 39%)
HSVhsv(48, 54%, 53%)
CMYKcmyk(0%, 10.4%, 54.1%, 47.1%)
CIE-LABlab(50.89, -2.80, 33.99)
CIE-LCHlch(50.89, 34.10, 94.71°)
OKLaboklab(57.57% -0.0089 0.0804)
OKLCHoklch(57.57% 0.081 96.3)
XYZxyz(17.6992, 19.1742, 7.3252)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87793E #3E4C87
analogous
#87543E #87793E #70873E
triadic
#87793E #3E8779 #793E87
tetradic
#87793E #3E8754 #3E4C87 #873E70
square
#87793E #3E8754 #3E4C87 #873E70
split-complementary
#87793E #3E7087 #543E87
monochromatic
#332E17 #5D532B #87793E #B09E52 #C3B57C

Accessibility & contrast

On white

4.34
#87793E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87793E#FFFFFF#000000##000000
##87793E1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87793e;
/* rgb */ color: rgb(135, 121, 62);
/* oklch */ color: oklch(57.6% 0.081 96.3);
Tailwind
colors: {
  custom: {
    50: '#ac9f75',
    500: '#87793e',
    950: '#000000',
  },
}
SCSS
$custom: #87793e;
$custom-light: #ac9f75;
$custom-dark: #000000;
JSON
{
  "hex": "#87793e",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 62
  },
  "hsl": {
    "h": 48.493,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.08088,
    "h": 96.3
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#87793E
secondary
#747FAD
accent
#71CD5B
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #87793E

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

Preview Lab → · Contrast checker → · Palette generator →

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