#877223#877223

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

Color values

HEX#877223
RGBrgb(135, 114, 35)
HSLhsl(47, 59%, 33%)
HSVhsv(47, 74%, 53%)
CMYKcmyk(0%, 15.6%, 74.1%, 47.1%)
CIE-LABlab(48.65, -0.78, 44.58)
CIE-LCHlch(48.65, 44.59, 91.00°)
OKLaboklab(55.71% -0.0065 0.099)
OKLCHoklch(55.71% 0.099 93.7)
XYZxyz(16.3132, 17.3078, 4.0713)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877223 #233887
analogous
#874023 #877223 #6A8723
triadic
#877223 #238772 #722387
tetradic
#877223 #238740 #233887 #87236A
square
#877223 #238740 #233887 #87236A
split-complementary
#877223 #236A87 #402387
monochromatic
#26200A #564916 #877223 #B89B30 #D2B752

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877223#FFFFFF#000000##FFFFFF
##8772231.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)
#7F7017
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#926962
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #877223;
/* rgb */ color: rgb(135, 114, 35);
/* oklch */ color: oklch(55.7% 0.099 93.7);
Tailwind
colors: {
  custom: {
    50: '#ad9a63',
    500: '#877223',
    950: '#000000',
  },
}
SCSS
$custom: #877223;
$custom-light: #ad9a63;
$custom-dark: #000000;
JSON
{
  "hex": "#877223",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 47.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55708,
    "c": 0.09922,
    "h": 93.7
  },
  "luminance": 0.17307
}

Semantic roles & 50–950 ramp

primary
#877223
secondary
#5065B6
accent
#67E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877223

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

Preview Lab → · Contrast checker → · Palette generator →

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