#878520#878520

#878520 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.0% C 0.118 H 108.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#878520
RGBrgb(135, 133, 32)
HSLhsl(59, 62%, 33%)
HSVhsv(59, 76%, 53%)
CMYKcmyk(0%, 1.5%, 76.3%, 47.1%)
CIE-LABlab(54.06, -11.48, 50.95)
CIE-LCHlch(54.06, 52.23, 102.70°)
OKLaboklab(60% -0.037 0.1119)
OKLCHoklch(60% 0.118 108.3)
XYZxyz(18.6406, 22.0308, 4.6367)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878520 #202287
analogous
#875120 #878520 #558720
triadic
#878520 #208785 #852087
tetradic
#878520 #208751 #202287 #872055
square
#878520 #208751 #202287 #872055
split-complementary
#878520 #205587 #512087
monochromatic
#242409 #565414 #878520 #B8B62C #D5D24D

Accessibility & contrast

On white

3.88
#878520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#878520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878520
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878520#FFFFFF#000000##000000
##8785201.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0A
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#917C72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #878520;
/* rgb */ color: rgb(135, 133, 32);
/* oklch */ color: oklch(60.0% 0.118 108.3);
Tailwind
colors: {
  custom: {
    50: '#ada864',
    500: '#878520',
    950: '#000000',
  },
}
SCSS
$custom: #878520;
$custom-light: #ada864;
$custom-dark: #000000;
JSON
{
  "hex": "#878520",
  "rgb": {
    "r": 135,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 58.835,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60002,
    "c": 0.11789,
    "h": 108.3
  },
  "luminance": 0.2203
}

Semantic roles & 50–950 ramp

primary
#878520
secondary
#4B4DB8
accent
#46E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878520

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

Preview Lab → · Contrast checker → · Palette generator →

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