#877B24#877B24

#877B24 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.106 H 101.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#877B24
RGBrgb(135, 123, 36)
HSLhsl(53, 58%, 34%)
HSVhsv(53, 73%, 53%)
CMYKcmyk(0%, 8.9%, 73.3%, 47.1%)
CIE-LABlab(51.20, -5.80, 46.69)
CIE-LCHlch(51.20, 47.05, 97.08°)
OKLaboklab(57.74% -0.0207 0.1037)
OKLCHoklch(57.74% 0.106 101.3)
XYZxyz(17.3939, 19.4450, 4.5058)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B24 #243087
analogous
#874924 #877B24 #618724
triadic
#877B24 #24877B #7B2487
tetradic
#877B24 #248749 #243087 #872461
square
#877B24 #248749 #243087 #872461
split-complementary
#877B24 #246187 #492487
monochromatic
#26230A #574F17 #877B24 #B7A731 #D1C254

Accessibility & contrast

On white

4.30
#877B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#877B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B24
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B24#FFFFFF#000000##000000
##877B241.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877716
Deuteranopia (green-blind)
#8A7C2A
Tritanopia (blue-blind)
#92726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b24;
/* rgb */ color: rgb(135, 123, 36);
/* oklch */ color: oklch(57.7% 0.106 101.3);
Tailwind
colors: {
  custom: {
    50: '#ada065',
    500: '#877b24',
    950: '#000000',
  },
}
SCSS
$custom: #877b24;
$custom-light: #ada065;
$custom-dark: #000000;
JSON
{
  "hex": "#877b24",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 52.727,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57737,
    "c": 0.10572,
    "h": 101.3
  },
  "luminance": 0.19444
}

Semantic roles & 50–950 ramp

primary
#877B24
secondary
#515DB5
accent
#59E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B24

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

Preview Lab → · Contrast checker → · Palette generator →

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