#877A24#877A24

#877A24 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.105 H 100.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#877A24
RGBrgb(135, 122, 36)
HSLhsl(52, 58%, 34%)
HSVhsv(52, 73%, 53%)
CMYKcmyk(0%, 9.6%, 73.3%, 47.1%)
CIE-LABlab(50.92, -5.24, 46.41)
CIE-LCHlch(50.92, 46.70, 96.44°)
OKLaboklab(57.51% -0.0191 0.1031)
OKLCHoklch(57.51% 0.105 100.5)
XYZxyz(17.2704, 19.1981, 4.4646)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A24 #243187
analogous
#874824 #877A24 #628724
triadic
#877A24 #24877A #7A2487
tetradic
#877A24 #248748 #243187 #872462
square
#877A24 #248748 #243187 #872462
split-complementary
#877A24 #246287 #482487
monochromatic
#26230A #574E17 #877A24 #B7A631 #D1C154

Accessibility & contrast

On white

4.34
#877A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#877A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A24
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A24#FFFFFF#000000##000000
##877A241.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867616
Deuteranopia (green-blind)
#8A7B29
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a24;
/* rgb */ color: rgb(135, 122, 36);
/* oklch */ color: oklch(57.5% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#ada065',
    500: '#877a24',
    950: '#000000',
  },
}
SCSS
$custom: #877a24;
$custom-light: #ada065;
$custom-dark: #000000;
JSON
{
  "hex": "#877a24",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 52.121,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.10484,
    "h": 100.5
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#877A24
secondary
#515EB5
accent
#5BE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877A24

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

Preview Lab → · Contrast checker → · Palette generator →

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