#877F20#877F20

#877F20 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.6% C 0.112 H 104.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#877F20
RGBrgb(135, 127, 32)
HSLhsl(55, 62%, 33%)
HSVhsv(55, 76%, 53%)
CMYKcmyk(0%, 5.9%, 76.3%, 47.1%)
CIE-LABlab(52.33, -8.21, 49.32)
CIE-LCHlch(52.33, 50.00, 99.45°)
OKLaboklab(58.62% -0.0279 0.1085)
OKLCHoklch(58.62% 0.112 104.4)
XYZxyz(17.8425, 20.4346, 4.3706)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F20 #202887
analogous
#874C20 #877F20 #5B8720
triadic
#877F20 #20877F #7F2087
tetradic
#877F20 #20874C #202887 #87205B
square
#877F20 #20874C #202887 #87205B
split-complementary
#877F20 #205B87 #4C2087
monochromatic
#242209 #565014 #877F20 #B8AE2C #D5CA4D

Accessibility & contrast

On white

4.13
#877F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#877F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F20
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F20#FFFFFF#000000##000000
##877F201.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0D
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877f20;
/* rgb */ color: rgb(135, 127, 32);
/* oklch */ color: oklch(58.6% 0.112 104.4);
Tailwind
colors: {
  custom: {
    50: '#ada363',
    500: '#877f20',
    950: '#000000',
  },
}
SCSS
$custom: #877f20;
$custom-light: #ada363;
$custom-dark: #000000;
JSON
{
  "hex": "#877f20",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 55.34,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5862,
    "c": 0.112,
    "h": 104.4
  },
  "luminance": 0.20434
}

Semantic roles & 50–950 ramp

primary
#877F20
secondary
#4B54B8
accent
#50E543
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #877F20

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

Preview Lab → · Contrast checker → · Palette generator →

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