#87793F#87793F

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

Color values

HEX#87793F
RGBrgb(135, 121, 63)
HSLhsl(48, 36%, 39%)
HSVhsv(48, 53%, 53%)
CMYKcmyk(0%, 10.4%, 53.3%, 47.1%)
CIE-LABlab(50.90, -2.70, 33.47)
CIE-LCHlch(50.90, 33.58, 94.62°)
OKLaboklab(57.58% -0.0085 0.0794)
OKLCHoklch(57.58% 0.08 96.1)
XYZxyz(17.7268, 19.1853, 7.4710)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87793F #3F4D87
analogous
#87553F #87793F #71873F
triadic
#87793F #3F8779 #793F87
tetradic
#87793F #3F8755 #3F4D87 #873F71
square
#87793F #3F8755 #3F4D87 #873F71
split-complementary
#87793F #3F7187 #553F87
monochromatic
#342E18 #5D542C #87793F #AF9D54 #C3B57E

Accessibility & contrast

On white

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

On black

4.84
#87793F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87793F
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87793F#FFFFFF#000000##000000
##87793F1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83773A
Deuteranopia (green-blind)
#877B41
Tritanopia (blue-blind)
#90716B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #87793f;
/* rgb */ color: rgb(135, 121, 63);
/* oklch */ color: oklch(57.6% 0.080 96.1);
Tailwind
colors: {
  custom: {
    50: '#ac9f75',
    500: '#87793f',
    950: '#000000',
  },
}
SCSS
$custom: #87793f;
$custom-light: #ac9f75;
$custom-dark: #000000;
JSON
{
  "hex": "#87793f",
  "rgb": {
    "r": 135,
    "g": 121,
    "b": 63
  },
  "hsl": {
    "h": 48.333,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.07981,
    "h": 96.1
  },
  "luminance": 0.19185
}

Semantic roles & 50–950 ramp

primary
#87793F
secondary
#7580AD
accent
#71CC5B
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #87793F

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

Preview Lab → · Contrast checker → · Palette generator →

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