#877C20#877C20

#877C20 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.9% C 0.109 H 102.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#877C20
RGBrgb(135, 124, 32)
HSLhsl(54, 62%, 33%)
HSVhsv(54, 76%, 53%)
CMYKcmyk(0%, 8.1%, 76.3%, 47.1%)
CIE-LABlab(51.46, -6.56, 48.51)
CIE-LCHlch(51.46, 48.95, 97.70°)
OKLaboklab(57.94% -0.0232 0.1067)
OKLCHoklch(57.94% 0.109 102.3)
XYZxyz(17.4608, 19.6713, 4.2434)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C20 #202B87
analogous
#874820 #877C20 #5F8720
triadic
#877C20 #20877C #7C2087
tetradic
#877C20 #208748 #202B87 #87205F
square
#877C20 #208748 #202B87 #87205F
split-complementary
#877C20 #205F87 #482087
monochromatic
#242109 #564F14 #877C20 #B8A92C #D5C64D

Accessibility & contrast

On white

4.26
#877C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#877C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C20
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C20#FFFFFF#000000##000000
##877C201.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780E
Deuteranopia (green-blind)
#8B7D26
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c20;
/* rgb */ color: rgb(135, 124, 32);
/* oklch */ color: oklch(57.9% 0.109 102.3);
Tailwind
colors: {
  custom: {
    50: '#ada163',
    500: '#877c20',
    950: '#000000',
  },
}
SCSS
$custom: #877c20;
$custom-light: #ada163;
$custom-dark: #000000;
JSON
{
  "hex": "#877c20",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 53.592,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57935,
    "c": 0.10923,
    "h": 102.3
  },
  "luminance": 0.1967
}

Semantic roles & 50–950 ramp

primary
#877C20
secondary
#4B57B8
accent
#54E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877C20

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

Preview Lab → · Contrast checker → · Palette generator →

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