#877020#877020

#877020 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.2% C 0.100 H 92.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#877020
RGBrgb(135, 112, 32)
HSLhsl(47, 62%, 33%)
HSVhsv(47, 76%, 53%)
CMYKcmyk(0%, 17%, 76.3%, 47.1%)
CIE-LABlab(48.06, 0.21, 45.25)
CIE-LCHlch(48.06, 45.26, 89.73°)
OKLaboklab(55.24% -0.004 0.0998)
OKLCHoklch(55.24% 0.1 92.3)
XYZxyz(16.0474, 16.8445, 3.7723)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877020 #203787
analogous
#873C20 #877020 #6A8720
triadic
#877020 #208770 #702087
tetradic
#877020 #20873C #203787 #87206A
square
#877020 #20873C #203787 #87206A
split-complementary
#877020 #206A87 #3C2087
monochromatic
#241E09 #564714 #877020 #B8992C #D5B64D

Accessibility & contrast

On white

4.81
#877020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #877020
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877020#FFFFFF#000000##FFFFFF
##8770201.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877020;
/* rgb */ color: rgb(135, 112, 32);
/* oklch */ color: oklch(55.2% 0.100 92.3);
Tailwind
colors: {
  custom: {
    50: '#ae9861',
    500: '#877020',
    950: '#000000',
  },
}
SCSS
$custom: #877020;
$custom-light: #ae9861;
$custom-dark: #000000;
JSON
{
  "hex": "#877020",
  "rgb": {
    "r": 135,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 46.602,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.09991,
    "h": 92.3
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#877020
secondary
#4B63B8
accent
#67E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #877020

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

Preview Lab → · Contrast checker → · Palette generator →

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