#877422#877422

#877422 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.1% C 0.101 H 95.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#877422
RGBrgb(135, 116, 34)
HSLhsl(49, 60%, 33%)
HSVhsv(49, 75%, 53%)
CMYKcmyk(0%, 14.1%, 74.8%, 47.1%)
CIE-LABlab(49.20, -1.97, 45.54)
CIE-LCHlch(49.20, 45.59, 92.47°)
OKLaboklab(56.15% -0.01 0.1009)
OKLCHoklch(56.15% 0.101 95.7)
XYZxyz(16.5266, 17.7581, 4.0702)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877422 #223587
analogous
#874122 #877422 #678722
triadic
#877422 #228774 #742287
tetradic
#877422 #228741 #223587 #872267
square
#877422 #228741 #223587 #872267
split-complementary
#877422 #226787 #412287
monochromatic
#252009 #564A16 #877422 #B89E2E #D3BA50

Accessibility & contrast

On white

4.61
#877422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#877422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #877422
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877422#FFFFFF#000000##FFFFFF
##8774221.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#926B64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #877422;
/* rgb */ color: rgb(135, 116, 34);
/* oklch */ color: oklch(56.1% 0.101 95.7);
Tailwind
colors: {
  custom: {
    50: '#ad9b63',
    500: '#877422',
    950: '#000000',
  },
}
SCSS
$custom: #877422;
$custom-light: #ad9b63;
$custom-dark: #000000;
JSON
{
  "hex": "#877422",
  "rgb": {
    "r": 135,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 48.713,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.10135,
    "h": 95.7
  },
  "luminance": 0.17757
}

Semantic roles & 50–950 ramp

primary
#877422
secondary
#4E62B7
accent
#63E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877422

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

Preview Lab → · Contrast checker → · Palette generator →

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