#877824#877824

#877824 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.103 H 98.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#877824
RGBrgb(135, 120, 36)
HSLhsl(51, 58%, 34%)
HSVhsv(51, 73%, 53%)
CMYKcmyk(0%, 11.1%, 73.3%, 47.1%)
CIE-LABlab(50.35, -4.12, 45.85)
CIE-LCHlch(50.35, 46.03, 95.14°)
OKLaboklab(57.06% -0.0159 0.1019)
OKLCHoklch(57.06% 0.103 98.9)
XYZxyz(17.0274, 18.7120, 4.3836)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877824 #243387
analogous
#874624 #877824 #648724
triadic
#877824 #248778 #782487
tetradic
#877824 #248746 #243387 #872464
square
#877824 #248746 #243387 #872464
split-complementary
#877824 #246487 #462487
monochromatic
#26220A #574D17 #877824 #B7A331 #D1BE54

Accessibility & contrast

On white

4.43
#877824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#877824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877824
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877824#FFFFFF#000000##000000
##8778241.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#847517
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #877824;
/* rgb */ color: rgb(135, 120, 36);
/* oklch */ color: oklch(57.1% 0.103 98.9);
Tailwind
colors: {
  custom: {
    50: '#ad9e65',
    500: '#877824',
    950: '#000000',
  },
}
SCSS
$custom: #877824;
$custom-light: #ad9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#877824",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 36
  },
  "hsl": {
    "h": 50.909,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.10313,
    "h": 98.9
  },
  "luminance": 0.18711
}

Semantic roles & 50–950 ramp

primary
#877824
secondary
#5160B5
accent
#5EE147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877824

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

Preview Lab → · Contrast checker → · Palette generator →

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