#878419#878419

#878419 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.7% C 0.121 H 107.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#878419
RGBrgb(135, 132, 25)
HSLhsl(58, 69%, 31%)
HSVhsv(58, 81%, 53%)
CMYKcmyk(0%, 2.2%, 81.5%, 47.1%)
CIE-LABlab(53.73, -11.23, 52.96)
CIE-LCHlch(53.73, 54.14, 101.97°)
OKLaboklab(59.73% -0.037 0.1149)
OKLCHoklch(59.73% 0.121 107.8)
XYZxyz(18.4192, 21.7243, 4.1425)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878419 #191C87
analogous
#874D19 #878419 #538719
triadic
#878419 #198784 #841987
tetradic
#878419 #19874D #191C87 #871953
square
#878419 #19874D #191C87 #871953
split-complementary
#878419 #195387 #4D1987
monochromatic
#201F06 #53520F #878419 #BBB623 #DBD73F

Accessibility & contrast

On white

3.93
#878419 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#878419 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878419
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878419#FFFFFF#000000##000000
##8784191.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#928223
Tritanopia (blue-blind)
#917B71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #878419;
/* rgb */ color: rgb(135, 132, 25);
/* oklch */ color: oklch(59.7% 0.121 107.8);
Tailwind
colors: {
  custom: {
    50: '#aea761',
    500: '#878419',
    950: '#000000',
  },
}
SCSS
$custom: #878419;
$custom-light: #aea761;
$custom-dark: #000000;
JSON
{
  "hex": "#878419",
  "rgb": {
    "r": 135,
    "g": 132,
    "b": 25
  },
  "hsl": {
    "h": 58.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.12065,
    "h": 107.8
  },
  "luminance": 0.21724
}

Semantic roles & 50–950 ramp

primary
#878419
secondary
#4145BA
accent
#41EC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #878419

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

Preview Lab → · Contrast checker → · Palette generator →

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