#878620#878620

#878620 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.119 H 108.9°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#878620
RGBrgb(135, 134, 32)
HSLhsl(59, 62%, 33%)
HSVhsv(59, 76%, 53%)
CMYKcmyk(0%, 0.7%, 76.3%, 47.1%)
CIE-LABlab(54.35, -12.02, 51.22)
CIE-LCHlch(54.35, 52.61, 103.21°)
OKLaboklab(60.23% -0.0386 0.1125)
OKLCHoklch(60.23% 0.119 108.9)
XYZxyz(18.7782, 22.3060, 4.6825)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878620 #202187
analogous
#875220 #878620 #558720
triadic
#878620 #208786 #862087
tetradic
#878620 #208752 #202187 #872055
square
#878620 #208752 #202187 #872055
split-complementary
#878620 #205587 #522087
monochromatic
#242409 #565514 #878620 #B8B72C #D5D34D

Accessibility & contrast

On white

3.85
#878620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#878620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878620
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878620#FFFFFF#000000##000000
##8786201.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918009
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#917D73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #878620;
/* rgb */ color: rgb(135, 134, 32);
/* oklch */ color: oklch(60.2% 0.119 108.9);
Tailwind
colors: {
  custom: {
    50: '#ada964',
    500: '#878620',
    950: '#000000',
  },
}
SCSS
$custom: #878620;
$custom-light: #ada964;
$custom-dark: #000000;
JSON
{
  "hex": "#878620",
  "rgb": {
    "r": 135,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 59.417,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.11892,
    "h": 108.9
  },
  "luminance": 0.22305
}

Semantic roles & 50–950 ramp

primary
#878620
secondary
#4B4CB8
accent
#45E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #878620

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

Preview Lab → · Contrast checker → · Palette generator →

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