#878019#878019

#878019 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.117 H 105.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#878019
RGBrgb(135, 128, 25)
HSLhsl(56, 69%, 31%)
HSVhsv(56, 81%, 53%)
CMYKcmyk(0%, 5.2%, 81.5%, 47.1%)
CIE-LABlab(52.58, -9.05, 51.94)
CIE-LCHlch(52.58, 52.72, 99.89°)
OKLaboklab(58.81% -0.0309 0.1127)
OKLCHoklch(58.81% 0.117 105.3)
XYZxyz(17.8871, 20.6601, 3.9651)
Luminance0.2066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878019 #192087
analogous
#874919 #878019 #578719
triadic
#878019 #198780 #801987
tetradic
#878019 #198749 #192087 #871957
square
#878019 #198749 #192087 #871957
split-complementary
#878019 #195787 #491987
monochromatic
#201E06 #534F0F #878019 #BBB123 #DBD13F

Accessibility & contrast

On white

4.09
#878019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#878019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878019
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878019#FFFFFF#000000##000000
##8780191.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8E7F22
Tritanopia (blue-blind)
#92776D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #878019;
/* rgb */ color: rgb(135, 128, 25);
/* oklch */ color: oklch(58.8% 0.117 105.3);
Tailwind
colors: {
  custom: {
    50: '#aea460',
    500: '#878019',
    950: '#000000',
  },
}
SCSS
$custom: #878019;
$custom-light: #aea460;
$custom-dark: #000000;
JSON
{
  "hex": "#878019",
  "rgb": {
    "r": 135,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 56.182,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.58807,
    "c": 0.11681,
    "h": 105.3
  },
  "luminance": 0.20659
}

Semantic roles & 50–950 ramp

primary
#878019
secondary
#4149BA
accent
#47EC3C
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #878019

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

Preview Lab → · Contrast checker → · Palette generator →

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