#877C28#877C28

#877C28 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.104 H 101.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#877C28
RGBrgb(135, 124, 40)
HSLhsl(53, 54%, 34%)
HSVhsv(53, 70%, 53%)
CMYKcmyk(0%, 8.1%, 70.4%, 47.1%)
CIE-LABlab(51.52, -6.13, 45.34)
CIE-LCHlch(51.52, 45.75, 97.71°)
OKLaboklab(58% -0.0211 0.1016)
OKLCHoklch(58% 0.104 101.8)
XYZxyz(17.5831, 19.7202, 4.8873)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C28 #283387
analogous
#874D28 #877C28 #638728
triadic
#877C28 #28877C #7C2887
tetradic
#877C28 #28874D #283387 #872863
square
#877C28 #28874D #283387 #872863
split-complementary
#877C28 #286387 #4D2887
monochromatic
#29250C #58511A #877C28 #B6A736 #CEC15B

Accessibility & contrast

On white

4.25
#877C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#877C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C28
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C28#FFFFFF#000000##000000
##877C281.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88781C
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#91736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c28;
/* rgb */ color: rgb(135, 124, 40);
/* oklch */ color: oklch(58.0% 0.104 101.8);
Tailwind
colors: {
  custom: {
    50: '#ada167',
    500: '#877c28',
    950: '#000000',
  },
}
SCSS
$custom: #877c28;
$custom-light: #ada167;
$custom-dark: #000000;
JSON
{
  "hex": "#877c28",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 53.053,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57997,
    "c": 0.10375,
    "h": 101.8
  },
  "luminance": 0.19719
}

Semantic roles & 50–950 ramp

primary
#877C28
secondary
#5762B4
accent
#5BDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877C28

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

Preview Lab → · Contrast checker → · Palette generator →

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