#878824#878824

#878824 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.7% C 0.119 H 110.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#878824
RGBrgb(135, 136, 36)
HSLhsl(61, 58%, 34%)
HSVhsv(61, 74%, 53%)
CMYKcmyk(0.7%, 0%, 73.5%, 46.7%)
CIE-LABlab(54.96, -12.90, 50.34)
CIE-LCHlch(54.96, 51.97, 104.38°)
OKLaboklab(60.73% -0.0406 0.1114)
OKLCHoklch(60.73% 0.119 110)
XYZxyz(19.1149, 22.8871, 5.0795)
Luminance0.2289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878824 #252488
analogous
#885724 #878824 #558824
triadic
#878824 #248788 #882487
tetradic
#878824 #248857 #252488 #882455
square
#878824 #248857 #252488 #882455
split-complementary
#878824 #245588 #572488
monochromatic
#27270A #575817 #878824 #B7B831 #D1D255

Accessibility & contrast

On white

3.77
#878824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#878824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878824
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878824#FFFFFF#000000##000000
##8788241.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938211
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#917F75
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #878824;
/* rgb */ color: rgb(135, 136, 36);
/* oklch */ color: oklch(60.7% 0.119 110.0);
Tailwind
colors: {
  custom: {
    50: '#adaa66',
    500: '#878824',
    950: '#000000',
  },
}
SCSS
$custom: #878824;
$custom-light: #adaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#878824",
  "rgb": {
    "r": 135,
    "g": 136,
    "b": 36
  },
  "hsl": {
    "h": 60.6,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.11857,
    "h": 110
  },
  "luminance": 0.22887
}

Semantic roles & 50–950 ramp

primary
#878824
secondary
#5352B6
accent
#46E148
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #878824

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

Preview Lab → · Contrast checker → · Palette generator →

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