#877822#877822

#877822 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.104 H 99.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#877822
RGBrgb(135, 120, 34)
HSLhsl(51, 60%, 33%)
HSVhsv(51, 75%, 53%)
CMYKcmyk(0%, 11.1%, 74.8%, 47.1%)
CIE-LABlab(50.33, -4.22, 46.65)
CIE-LCHlch(50.33, 46.84, 95.17°)
OKLaboklab(57.04% -0.0164 0.1032)
OKLCHoklch(57.04% 0.105 99)
XYZxyz(16.9977, 18.7002, 4.2272)
Luminance0.1870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877822 #223187
analogous
#874522 #877822 #638722
triadic
#877822 #228778 #782287
tetradic
#877822 #228745 #223187 #872263
square
#877822 #228745 #223187 #872263
split-complementary
#877822 #226387 #452287
monochromatic
#252109 #564D16 #877822 #B8A32E #D3C050

Accessibility & contrast

On white

4.43
#877822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#877822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877822
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877822#FFFFFF#000000##000000
##8778221.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847514
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #877822;
/* rgb */ color: rgb(135, 120, 34);
/* oklch */ color: oklch(57.0% 0.104 99.0);
Tailwind
colors: {
  custom: {
    50: '#ad9e63',
    500: '#877822',
    950: '#000000',
  },
}
SCSS
$custom: #877822;
$custom-light: #ad9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#877822",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 51.089,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57043,
    "c": 0.1045,
    "h": 99
  },
  "luminance": 0.18699
}

Semantic roles & 50–950 ramp

primary
#877822
secondary
#4E5EB7
accent
#5CE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877822

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

Preview Lab → · Contrast checker → · Palette generator →

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