#878519#878519

#878519 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 60.0% C 0.122 H 108.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#878519
RGBrgb(135, 133, 25)
HSLhsl(59, 69%, 31%)
HSVhsv(59, 81%, 53%)
CMYKcmyk(0%, 1.5%, 81.5%, 47.1%)
CIE-LABlab(54.02, -11.77, 53.22)
CIE-LCHlch(54.02, 54.51, 102.47°)
OKLaboklab(59.96% -0.0385 0.1154)
OKLCHoklch(59.96% 0.122 108.4)
XYZxyz(18.5554, 21.9968, 4.1879)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878519 #191B87
analogous
#874E19 #878519 #528719
triadic
#878519 #198785 #851987
tetradic
#878519 #19874E #191B87 #871952
square
#878519 #19874E #191B87 #871952
split-complementary
#878519 #195287 #4E1987
monochromatic
#201F06 #53520F #878519 #BBB823 #DBD93F

Accessibility & contrast

On white

3.89
#878519 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#878519 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878519
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878519#FFFFFF#000000##000000
##8785191.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#928323
Tritanopia (blue-blind)
#917C71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #878519;
/* rgb */ color: rgb(135, 133, 25);
/* oklch */ color: oklch(60.0% 0.122 108.4);
Tailwind
colors: {
  custom: {
    50: '#aea861',
    500: '#878519',
    950: '#000000',
  },
}
SCSS
$custom: #878519;
$custom-light: #aea861;
$custom-dark: #000000;
JSON
{
  "hex": "#878519",
  "rgb": {
    "r": 135,
    "g": 133,
    "b": 25
  },
  "hsl": {
    "h": 58.909,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59962,
    "c": 0.12165,
    "h": 108.4
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

primary
#878519
secondary
#4144BA
accent
#3FEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #878519

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

Preview Lab → · Contrast checker → · Palette generator →

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