#878719#878719

#878719 is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.4% C 0.124 H 109.6°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#878719
RGBrgb(135, 135, 25)
HSLhsl(60, 69%, 31%)
HSVhsv(60, 81%, 53%)
CMYKcmyk(0%, 0%, 81.5%, 47.1%)
CIE-LABlab(54.61, -12.85, 53.73)
CIE-LCHlch(54.61, 55.24, 103.44°)
OKLaboklab(60.43% -0.0415 0.1165)
OKLCHoklch(60.43% 0.124 109.6)
XYZxyz(18.8318, 22.5496, 4.2800)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878719 #191987
analogous
#875019 #878719 #508719
triadic
#878719 #198787 #871987
tetradic
#878719 #198750 #191987 #871950
square
#878719 #198750 #191987 #871950
split-complementary
#878719 #195087 #501987
monochromatic
#202006 #53530F #878719 #BBBB23 #DBDB3F

Accessibility & contrast

On white

3.81
#878719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#878719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878719
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878719#FFFFFF#000000##000000
##8787191.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#948423
Tritanopia (blue-blind)
#917E73
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #878719;
/* rgb */ color: rgb(135, 135, 25);
/* oklch */ color: oklch(60.4% 0.124 109.6);
Tailwind
colors: {
  custom: {
    50: '#ada961',
    500: '#878719',
    950: '#000000',
  },
}
SCSS
$custom: #878719;
$custom-light: #ada961;
$custom-dark: #000000;
JSON
{
  "hex": "#878719",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.12366,
    "h": 109.6
  },
  "luminance": 0.22549
}

Semantic roles & 50–950 ramp

primary
#878719
secondary
#4141BA
accent
#3CEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #878719

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

Preview Lab → · Contrast checker → · Palette generator →

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