#877D20#877D20

#877D20 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.110 H 103.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#877D20
RGBrgb(135, 125, 32)
HSLhsl(54, 62%, 33%)
HSVhsv(54, 76%, 53%)
CMYKcmyk(0%, 7.4%, 76.3%, 47.1%)
CIE-LABlab(51.75, -7.11, 48.78)
CIE-LCHlch(51.75, 49.30, 98.29°)
OKLaboklab(58.16% -0.0248 0.1073)
OKLCHoklch(58.16% 0.11 103)
XYZxyz(17.5868, 19.9232, 4.2854)
Luminance0.1992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D20 #202A87
analogous
#874A20 #877D20 #5D8720
triadic
#877D20 #20877D #7D2087
tetradic
#877D20 #20874A #202A87 #87205D
square
#877D20 #20874A #202A87 #87205D
split-complementary
#877D20 #205D87 #4A2087
monochromatic
#242109 #564F14 #877D20 #B8AB2C #D5C84D

Accessibility & contrast

On white

4.21
#877D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#877D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D20
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D20#FFFFFF#000000##000000
##877D201.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790E
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d20;
/* rgb */ color: rgb(135, 125, 32);
/* oklch */ color: oklch(58.2% 0.110 103.0);
Tailwind
colors: {
  custom: {
    50: '#ada263',
    500: '#877d20',
    950: '#000000',
  },
}
SCSS
$custom: #877d20;
$custom-light: #ada263;
$custom-dark: #000000;
JSON
{
  "hex": "#877d20",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 54.175,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58163,
    "c": 0.11014,
    "h": 103
  },
  "luminance": 0.19922
}

Semantic roles & 50–950 ramp

primary
#877D20
secondary
#4B56B8
accent
#53E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877D20

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

Preview Lab → · Contrast checker → · Palette generator →

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