#878820#878820

#878820 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.7% C 0.121 H 110.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#878820
RGBrgb(135, 136, 32)
HSLhsl(61, 62%, 33%)
HSVhsv(61, 76%, 53%)
CMYKcmyk(0.7%, 0%, 76.5%, 46.7%)
CIE-LABlab(54.93, -13.10, 51.76)
CIE-LCHlch(54.93, 53.40, 104.20°)
OKLaboklab(60.7% -0.0415 0.1137)
OKLCHoklch(60.7% 0.121 110.1)
XYZxyz(19.0572, 22.8641, 4.7756)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878820 #212088
analogous
#885520 #878820 #538820
triadic
#878820 #208788 #882087
tetradic
#878820 #208855 #212088 #882053
square
#878820 #208855 #212088 #882053
split-complementary
#878820 #205388 #552088
monochromatic
#252509 #565614 #878820 #B8BA2C #D4D54D

Accessibility & contrast

On white

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

On black

5.57
#878820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878820
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878820#FFFFFF#000000##000000
##8788201.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938208
Deuteranopia (green-blind)
#948529
Tritanopia (blue-blind)
#917F74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #878820;
/* rgb */ color: rgb(135, 136, 32);
/* oklch */ color: oklch(60.7% 0.121 110.1);
Tailwind
colors: {
  custom: {
    50: '#adaa64',
    500: '#878820',
    950: '#000000',
  },
}
SCSS
$custom: #878820;
$custom-light: #adaa64;
$custom-dark: #000000;
JSON
{
  "hex": "#878820",
  "rgb": {
    "r": 135,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 60.577,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60699,
    "c": 0.12101,
    "h": 110.1
  },
  "luminance": 0.22864
}

Semantic roles & 50–950 ramp

primary
#878820
secondary
#4D4CB8
accent
#43E544
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #878820

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

Preview Lab → · Contrast checker → · Palette generator →

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