#877D24#877D24

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

Color values

HEX#877D24
RGBrgb(135, 125, 36)
HSLhsl(54, 58%, 34%)
HSVhsv(54, 73%, 53%)
CMYKcmyk(0%, 7.4%, 73.3%, 47.1%)
CIE-LABlab(51.78, -6.91, 47.25)
CIE-LCHlch(51.78, 47.76, 98.32°)
OKLaboklab(58.19% -0.0238 0.1049)
OKLCHoklch(58.19% 0.108 102.8)
XYZxyz(17.6445, 19.9462, 4.5893)
Luminance0.1995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D24 #242E87
analogous
#874B24 #877D24 #5F8724
triadic
#877D24 #24877D #7D2487
tetradic
#877D24 #24874B #242E87 #87245F
square
#877D24 #24874B #242E87 #87245F
split-complementary
#877D24 #245F87 #4B2487
monochromatic
#26240A #575017 #877D24 #B7AA31 #D1C554

Accessibility & contrast

On white

4.21
#877D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#877D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D24
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D24#FFFFFF#000000##000000
##877D241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897915
Deuteranopia (green-blind)
#8C7D2A
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877d24;
/* rgb */ color: rgb(135, 125, 36);
/* oklch */ color: oklch(58.2% 0.108 102.8);
Tailwind
colors: {
  custom: {
    50: '#ada265',
    500: '#877d24',
    950: '#000000',
  },
}
SCSS
$custom: #877d24;
$custom-light: #ada265;
$custom-dark: #000000;
JSON
{
  "hex": "#877d24",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 53.939,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.10753,
    "h": 102.8
  },
  "luminance": 0.19946
}

Semantic roles & 50–950 ramp

primary
#877D24
secondary
#515BB5
accent
#56E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877D24

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

Preview Lab → · Contrast checker → · Palette generator →

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