#877A20#877A20

#877A20 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.107 H 100.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#877A20
RGBrgb(135, 122, 32)
HSLhsl(52, 62%, 33%)
HSVhsv(52, 76%, 53%)
CMYKcmyk(0%, 9.6%, 76.3%, 47.1%)
CIE-LABlab(50.89, -5.44, 47.97)
CIE-LCHlch(50.89, 48.27, 96.47°)
OKLaboklab(57.48% -0.0201 0.1056)
OKLCHoklch(57.48% 0.107 100.8)
XYZxyz(17.2127, 19.1750, 4.1607)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A20 #202D87
analogous
#874620 #877A20 #618720
triadic
#877A20 #20877A #7A2087
tetradic
#877A20 #208746 #202D87 #872061
square
#877A20 #208746 #202D87 #872061
split-complementary
#877A20 #206187 #462087
monochromatic
#242109 #564D14 #877A20 #B8A72C #D5C44D

Accessibility & contrast

On white

4.34
#877A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#877A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A20
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A20#FFFFFF#000000##000000
##877A201.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760F
Deuteranopia (green-blind)
#8A7B26
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a20;
/* rgb */ color: rgb(135, 122, 32);
/* oklch */ color: oklch(57.5% 0.107 100.8);
Tailwind
colors: {
  custom: {
    50: '#ada063',
    500: '#877a20',
    950: '#000000',
  },
}
SCSS
$custom: #877a20;
$custom-light: #ada063;
$custom-dark: #000000;
JSON
{
  "hex": "#877a20",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 52.427,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5748,
    "c": 0.10748,
    "h": 100.8
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

primary
#877A20
secondary
#4B59B8
accent
#57E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #877A20

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

Preview Lab → · Contrast checker → · Palette generator →

#877A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva