#877C24#877C24

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

Color values

HEX#877C24
RGBrgb(135, 124, 36)
HSLhsl(53, 58%, 34%)
HSVhsv(53, 73%, 53%)
CMYKcmyk(0%, 8.1%, 73.3%, 47.1%)
CIE-LABlab(51.49, -6.36, 46.97)
CIE-LCHlch(51.49, 47.40, 97.71°)
OKLaboklab(57.96% -0.0222 0.1043)
OKLCHoklch(57.96% 0.107 102)
XYZxyz(17.5185, 19.6943, 4.5473)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C24 #242F87
analogous
#874A24 #877C24 #608724
triadic
#877C24 #24877C #7C2487
tetradic
#877C24 #24874A #242F87 #872460
square
#877C24 #24874A #242F87 #872460
split-complementary
#877C24 #246087 #4A2487
monochromatic
#26230A #575017 #877C24 #B7A831 #D1C354

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877C24#FFFFFF#000000##000000
##877C241.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)
#887816
Deuteranopia (green-blind)
#8B7D2A
Tritanopia (blue-blind)
#92736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c24;
/* rgb */ color: rgb(135, 124, 36);
/* oklch */ color: oklch(58.0% 0.107 102.0);
Tailwind
colors: {
  custom: {
    50: '#ada165',
    500: '#877c24',
    950: '#000000',
  },
}
SCSS
$custom: #877c24;
$custom-light: #ada165;
$custom-dark: #000000;
JSON
{
  "hex": "#877c24",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 53.333,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.10661,
    "h": 102
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#877C24
secondary
#515CB5
accent
#58E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877C24

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

Preview Lab → · Contrast checker → · Palette generator →

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