#877816#877816

#877816 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 57.0% C 0.111 H 99.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#877816
RGBrgb(135, 120, 22)
HSLhsl(52, 72%, 31%)
HSVhsv(52, 84%, 53%)
CMYKcmyk(0%, 11.1%, 83.7%, 47.1%)
CIE-LABlab(50.27, -4.73, 50.85)
CIE-LCHlch(50.27, 51.07, 95.31°)
OKLaboklab(56.97% -0.019 0.1097)
OKLCHoklch(56.97% 0.111 99.8)
XYZxyz(16.8538, 18.6426, 3.4695)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877816 #162587
analogous
#873F16 #877816 #5D8716
triadic
#877816 #168778 #781687
tetradic
#877816 #16873F #162587 #87165D
square
#877816 #16873F #162587 #87165D
split-complementary
#877816 #165D87 #3F1687
monochromatic
#1E1A05 #52490D #877816 #BCA71F #DFC939

Accessibility & contrast

On white

4.44
#877816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#877816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877816
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877816#FFFFFF#000000##000000
##8778161.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#897A1E
Tritanopia (blue-blind)
#926E66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #877816;
/* rgb */ color: rgb(135, 120, 22);
/* oklch */ color: oklch(57.0% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#ae9e5e',
    500: '#877816',
    950: '#000000',
  },
}
SCSS
$custom: #877816;
$custom-light: #ae9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#877816",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 52.035,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56967,
    "c": 0.11131,
    "h": 99.8
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#877816
secondary
#3E4EBB
accent
#51EF39
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110E05
muted
#807E79

Preview Lab

Preview with #877816

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

Preview Lab → · Contrast checker → · Palette generator →

#877816 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva