#877124#877124

#877124 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.098 H 92.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#877124
RGBrgb(135, 113, 36)
HSLhsl(47, 58%, 34%)
HSVhsv(47, 73%, 53%)
CMYKcmyk(0%, 16.3%, 73.3%, 47.1%)
CIE-LABlab(48.37, -0.15, 43.88)
CIE-LCHlch(48.37, 43.88, 90.20°)
OKLaboklab(55.5% -0.0046 0.0977)
OKLCHoklch(55.5% 0.098 92.7)
XYZxyz(16.2161, 17.0895, 4.1132)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877124 #243A87
analogous
#873F24 #877124 #6B8724
triadic
#877124 #248771 #712487
tetradic
#877124 #24873F #243A87 #87246B
square
#877124 #24873F #243A87 #87246B
split-complementary
#877124 #246B87 #3F2487
monochromatic
#26200A #574917 #877124 #B79931 #D1B654

Accessibility & contrast

On white

4.75
#877124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#877124 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877124
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877124#FFFFFF#000000##FFFFFF
##8771241.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F19
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#926861
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877124;
/* rgb */ color: rgb(135, 113, 36);
/* oklch */ color: oklch(55.5% 0.098 92.7);
Tailwind
colors: {
  custom: {
    50: '#ad9964',
    500: '#877124',
    950: '#000000',
  },
}
SCSS
$custom: #877124;
$custom-light: #ad9964;
$custom-dark: #000000;
JSON
{
  "hex": "#877124",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 36
  },
  "hsl": {
    "h": 46.667,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55495,
    "c": 0.09784,
    "h": 92.7
  },
  "luminance": 0.17089
}

Semantic roles & 50–950 ramp

primary
#877124
secondary
#5168B5
accent
#69E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #877124

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

Preview Lab → · Contrast checker → · Palette generator →

#877124 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva