#877224#877224

#877224 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.099 H 93.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#877224
RGBrgb(135, 114, 36)
HSLhsl(47, 58%, 34%)
HSVhsv(47, 73%, 53%)
CMYKcmyk(0%, 15.6%, 73.3%, 47.1%)
CIE-LABlab(48.65, -0.72, 44.16)
CIE-LCHlch(48.65, 44.17, 90.94°)
OKLaboklab(55.72% -0.0062 0.0983)
OKLCHoklch(55.72% 0.099 93.6)
XYZxyz(16.3283, 17.3138, 4.1506)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877224 #243987
analogous
#874024 #877224 #6A8724
triadic
#877224 #248772 #722487
tetradic
#877224 #248740 #243987 #87246A
square
#877224 #248740 #243987 #87246A
split-complementary
#877224 #246A87 #402487
monochromatic
#26200A #574917 #877224 #B79B31 #D1B754

Accessibility & contrast

On white

4.71
#877224 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#877224 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877224
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877224#FFFFFF#000000##FFFFFF
##8772241.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7019
Deuteranopia (green-blind)
#847628
Tritanopia (blue-blind)
#926962
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #877224;
/* rgb */ color: rgb(135, 114, 36);
/* oklch */ color: oklch(55.7% 0.099 93.6);
Tailwind
colors: {
  custom: {
    50: '#ad9a64',
    500: '#877224',
    950: '#000000',
  },
}
SCSS
$custom: #877224;
$custom-light: #ad9a64;
$custom-dark: #000000;
JSON
{
  "hex": "#877224",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 36
  },
  "hsl": {
    "h": 47.273,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.09853,
    "h": 93.6
  },
  "luminance": 0.17313
}

Semantic roles & 50–950 ramp

primary
#877224
secondary
#5167B5
accent
#67E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877224

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

Preview Lab → · Contrast checker → · Palette generator →

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