#877C2F#877C2F

#877C2F is a mid, moderate yellow. Relative luminance 0.198; OKLCH L 58.1% C 0.098 H 101.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#877C2F
RGBrgb(135, 124, 47)
HSLhsl(53, 48%, 36%)
HSVhsv(53, 65%, 53%)
CMYKcmyk(0%, 8.1%, 65.2%, 47.1%)
CIE-LABlab(51.58, -5.69, 42.26)
CIE-LCHlch(51.58, 42.64, 97.67°)
OKLaboklab(58.06% -0.019 0.0963)
OKLCHoklch(58.06% 0.098 101.2)
XYZxyz(17.7131, 19.7722, 5.5722)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C2F #2F3A87
analogous
#87502F #877C2F #66872F
triadic
#877C2F #2F877C #7C2F87
tetradic
#877C2F #2F8750 #2F3A87 #872F66
square
#877C2F #2F8750 #2F3A87 #872F66
split-complementary
#877C2F #2F6687 #502F87
monochromatic
#2C290F #5A521F #877C2F #B4A63F #CABD66

Accessibility & contrast

On white

4.24
#877C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#877C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C2F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C2F#FFFFFF#000000##000000
##877C2F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877826
Deuteranopia (green-blind)
#8A7D33
Tritanopia (blue-blind)
#91736C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c2f;
/* rgb */ color: rgb(135, 124, 47);
/* oklch */ color: oklch(58.1% 0.098 101.2);
Tailwind
colors: {
  custom: {
    50: '#ada16b',
    500: '#877c2f',
    950: '#000000',
  },
}
SCSS
$custom: #877c2f;
$custom-light: #ada16b;
$custom-dark: #000000;
JSON
{
  "hex": "#877c2f",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 47
  },
  "hsl": {
    "h": 52.5,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.09812,
    "h": 101.2
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

primary
#877C2F
secondary
#616BB1
accent
#61D850
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #877C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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