#877522#877522

#877522 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.4% C 0.102 H 96.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#877522
RGBrgb(135, 117, 34)
HSLhsl(49, 60%, 33%)
HSVhsv(49, 75%, 53%)
CMYKcmyk(0%, 13.3%, 74.8%, 47.1%)
CIE-LABlab(49.48, -2.53, 45.82)
CIE-LCHlch(49.48, 45.89, 93.16°)
OKLaboklab(56.37% -0.0116 0.1014)
OKLCHoklch(56.37% 0.102 96.5)
XYZxyz(16.6425, 17.9898, 4.1088)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877522 #223487
analogous
#874222 #877522 #668722
triadic
#877522 #228775 #752287
tetradic
#877522 #228742 #223487 #872266
square
#877522 #228742 #223487 #872266
split-complementary
#877522 #226687 #422287
monochromatic
#252009 #564B16 #877522 #B89F2E #D3BC50

Accessibility & contrast

On white

4.57
#877522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#877522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877522
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877522#FFFFFF#000000##000000
##8775221.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#926C65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #877522;
/* rgb */ color: rgb(135, 117, 34);
/* oklch */ color: oklch(56.4% 0.102 96.5);
Tailwind
colors: {
  custom: {
    50: '#ad9c63',
    500: '#877522',
    950: '#000000',
  },
}
SCSS
$custom: #877522;
$custom-light: #ad9c63;
$custom-dark: #000000;
JSON
{
  "hex": "#877522",
  "rgb": {
    "r": 135,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 49.307,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56369,
    "c": 0.1021,
    "h": 96.5
  },
  "luminance": 0.17989
}

Semantic roles & 50–950 ramp

primary
#877522
secondary
#4E61B7
accent
#61E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877522

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

Preview Lab → · Contrast checker → · Palette generator →

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