#877C2D#877C2D

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

Color values

HEX#877C2D
RGBrgb(135, 124, 45)
HSLhsl(53, 50%, 35%)
HSVhsv(53, 67%, 53%)
CMYKcmyk(0%, 8.1%, 66.7%, 47.1%)
CIE-LABlab(51.56, -5.82, 43.16)
CIE-LCHlch(51.56, 43.56, 97.68°)
OKLaboklab(58.04% -0.0196 0.0979)
OKLCHoklch(58.04% 0.1 101.4)
XYZxyz(17.6737, 19.7564, 5.3645)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C2D #2D3887
analogous
#874F2D #877C2D #65872D
triadic
#877C2D #2D877C #7C2D87
tetradic
#877C2D #2D874F #2D3887 #872D65
square
#877C2D #2D874F #2D3887 #872D65
split-complementary
#877C2D #2D6587 #4F2D87
monochromatic
#2B280E #59521E #877C2D #B5A63C #CBBE63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877C2D#FFFFFF#000000##000000
##877C2D1.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)
#877823
Deuteranopia (green-blind)
#8B7D31
Tritanopia (blue-blind)
#91736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c2d;
/* rgb */ color: rgb(135, 124, 45);
/* oklch */ color: oklch(58.0% 0.100 101.4);
Tailwind
colors: {
  custom: {
    50: '#ada16a',
    500: '#877c2d',
    950: '#000000',
  },
}
SCSS
$custom: #877c2d;
$custom-light: #ada16a;
$custom-dark: #000000;
JSON
{
  "hex": "#877c2d",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 45
  },
  "hsl": {
    "h": 52.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58043,
    "c": 0.0998,
    "h": 101.4
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#877C2D
secondary
#5E68B2
accent
#5FDA4E
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #877C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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