#878424#878424

#878424 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.8% C 0.114 H 107.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#878424
RGBrgb(135, 132, 36)
HSLhsl(58, 58%, 34%)
HSVhsv(58, 73%, 53%)
CMYKcmyk(0%, 2.2%, 73.3%, 47.1%)
CIE-LABlab(53.79, -10.75, 49.22)
CIE-LCHlch(53.79, 50.38, 102.32°)
OKLaboklab(59.8% -0.0346 0.109)
OKLCHoklch(59.8% 0.114 107.6)
XYZxyz(18.5621, 21.7814, 4.8952)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878424 #242787
analogous
#875224 #878424 #588724
triadic
#878424 #248784 #842487
tetradic
#878424 #248752 #242787 #872458
square
#878424 #248752 #242787 #872458
split-complementary
#878424 #245887 #522487
monochromatic
#26260A #575517 #878424 #B7B331 #D1CE54

Accessibility & contrast

On white

3.92
#878424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#878424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878424
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878424#FFFFFF#000000##000000
##8784241.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F13
Deuteranopia (green-blind)
#91822B
Tritanopia (blue-blind)
#917B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #878424;
/* rgb */ color: rgb(135, 132, 36);
/* oklch */ color: oklch(59.8% 0.114 107.6);
Tailwind
colors: {
  custom: {
    50: '#ada766',
    500: '#878424',
    950: '#000000',
  },
}
SCSS
$custom: #878424;
$custom-light: #ada766;
$custom-dark: #000000;
JSON
{
  "hex": "#878424",
  "rgb": {
    "r": 135,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 58.182,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59798,
    "c": 0.11438,
    "h": 107.6
  },
  "luminance": 0.21781
}

Semantic roles & 50–950 ramp

primary
#878424
secondary
#5154B5
accent
#4BE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878424

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

Preview Lab → · Contrast checker → · Palette generator →

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