#877B20#877B20

#877B20 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.108 H 101.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#877B20
RGBrgb(135, 123, 32)
HSLhsl(53, 62%, 33%)
HSVhsv(53, 76%, 53%)
CMYKcmyk(0%, 8.9%, 76.3%, 47.1%)
CIE-LABlab(51.18, -6.00, 48.24)
CIE-LCHlch(51.18, 48.61, 97.09°)
OKLaboklab(57.71% -0.0216 0.1062)
OKLCHoklch(57.71% 0.108 101.5)
XYZxyz(17.3361, 19.4219, 4.2019)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B20 #202C87
analogous
#874820 #877B20 #5F8720
triadic
#877B20 #20877B #7B2087
tetradic
#877B20 #208748 #202C87 #87205F
square
#877B20 #208748 #202C87 #87205F
split-complementary
#877B20 #205F87 #482087
monochromatic
#242109 #564E14 #877B20 #B8A82C #D5C54D

Accessibility & contrast

On white

4.30
#877B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#877B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B20
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B20#FFFFFF#000000##000000
##877B201.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770F
Deuteranopia (green-blind)
#8B7C26
Tritanopia (blue-blind)
#927269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b20;
/* rgb */ color: rgb(135, 123, 32);
/* oklch */ color: oklch(57.7% 0.108 101.5);
Tailwind
colors: {
  custom: {
    50: '#ada063',
    500: '#877b20',
    950: '#000000',
  },
}
SCSS
$custom: #877b20;
$custom-light: #ada063;
$custom-dark: #000000;
JSON
{
  "hex": "#877b20",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 53.01,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57707,
    "c": 0.10835,
    "h": 101.5
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#877B20
secondary
#4B58B8
accent
#56E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B20

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

Preview Lab → · Contrast checker → · Palette generator →

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