#877C38#877C38

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

Color values

HEX#877C38
RGBrgb(135, 124, 56)
HSLhsl(52, 41%, 37%)
HSVhsv(52, 59%, 53%)
CMYKcmyk(0%, 8.1%, 58.5%, 47.1%)
CIE-LABlab(51.67, -5.01, 37.99)
CIE-LCHlch(51.67, 38.32, 97.51°)
OKLaboklab(58.17% -0.016 0.0884)
OKLCHoklch(58.17% 0.09 100.2)
XYZxyz(17.9138, 19.8524, 6.6289)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C38 #384387
analogous
#875538 #877C38 #6A8738
triadic
#877C38 #38877C #7C3887
tetradic
#877C38 #388755 #384387 #87386A
square
#877C38 #388755 #384387 #87386A
split-complementary
#877C38 #386A87 #553887
monochromatic
#302D14 #5C5426 #877C38 #B2A44A #C5BA74

Accessibility & contrast

On white

4.23
#877C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#877C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C38
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C38#FFFFFF#000000##000000
##877C381.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#8A7D3B
Tritanopia (blue-blind)
#91746D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c38;
/* rgb */ color: rgb(135, 124, 56);
/* oklch */ color: oklch(58.2% 0.090 100.2);
Tailwind
colors: {
  custom: {
    50: '#aca171',
    500: '#877c38',
    950: '#000000',
  },
}
SCSS
$custom: #877c38;
$custom-light: #aca171;
$custom-dark: #000000;
JSON
{
  "hex": "#877c38",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 56
  },
  "hsl": {
    "h": 51.646,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.08984,
    "h": 100.2
  },
  "luminance": 0.19852
}

Semantic roles & 50–950 ramp

primary
#877C38
secondary
#6D76AE
accent
#68D157
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100F08
muted
#7F7E7B

Preview Lab

Preview with #877C38

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

Preview Lab → · Contrast checker → · Palette generator →

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