#877022#877022

#877022 is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.3% C 0.099 H 92.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#877022
RGBrgb(135, 112, 34)
HSLhsl(46, 60%, 33%)
HSVhsv(46, 75%, 53%)
CMYKcmyk(0%, 17%, 74.8%, 47.1%)
CIE-LABlab(48.08, 0.31, 44.44)
CIE-LCHlch(48.08, 44.44, 89.60°)
OKLaboklab(55.26% -0.0035 0.0985)
OKLCHoklch(55.26% 0.099 92)
XYZxyz(16.0755, 16.8557, 3.9198)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877022 #223987
analogous
#873E22 #877022 #6B8722
triadic
#877022 #228770 #702287
tetradic
#877022 #22873E #223987 #87226B
square
#877022 #22873E #223987 #87226B
split-complementary
#877022 #226B87 #3E2287
monochromatic
#251F09 #564716 #877022 #B8992E #D3B550

Accessibility & contrast

On white

4.80
#877022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#877022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877022
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877022#FFFFFF#000000##FFFFFF
##8770221.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E16
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#926660
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #877022;
/* rgb */ color: rgb(135, 112, 34);
/* oklch */ color: oklch(55.3% 0.099 92.0);
Tailwind
colors: {
  custom: {
    50: '#ad9863',
    500: '#877022',
    950: '#000000',
  },
}
SCSS
$custom: #877022;
$custom-light: #ad9863;
$custom-dark: #000000;
JSON
{
  "hex": "#877022",
  "rgb": {
    "r": 135,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 46.337,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.09858,
    "h": 92
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#877022
secondary
#4E66B7
accent
#69E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #877022

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

Preview Lab → · Contrast checker → · Palette generator →

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