#878E19#878E19

#878E19 is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.1% C 0.131 H 113.3°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#878E19
RGBrgb(135, 142, 25)
HSLhsl(64, 70%, 33%)
HSVhsv(64, 82%, 56%)
CMYKcmyk(4.9%, 0%, 82.4%, 44.3%)
CIE-LABlab(56.65, -16.55, 55.52)
CIE-LCHlch(56.65, 57.94, 106.60°)
OKLaboklab(62.07% -0.0517 0.1204)
OKLCHoklch(62.07% 0.131 113.3)
XYZxyz(19.8408, 24.5675, 4.6164)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878E19 #20198E
analogous
#8E5B19 #878E19 #4C8E19
triadic
#878E19 #19878E #8E1987
tetradic
#878E19 #198E5B #20198E #8E194C
square
#878E19 #198E5B #20198E #8E194C
split-complementary
#878E19 #194C8E #5B198E
monochromatic
#242607 #565A10 #878E19 #B8C222 #D5DE43

Accessibility & contrast

On white

3.55
#878E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#878E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #878E19
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##878E19#FFFFFF#000000##000000
##878E191.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#918579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #878e19;
/* rgb */ color: rgb(135, 142, 25);
/* oklch */ color: oklch(62.1% 0.131 113.3);
Tailwind
colors: {
  custom: {
    50: '#aeae62',
    500: '#878e19',
    950: '#000000',
  },
}
SCSS
$custom: #878e19;
$custom-light: #aeae62;
$custom-dark: #000000;
JSON
{
  "hex": "#878e19",
  "rgb": {
    "r": 135,
    "g": 142,
    "b": 25
  },
  "hsl": {
    "h": 63.59,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.131,
    "h": 113.3
  },
  "luminance": 0.24567
}

Semantic roles & 50–950 ramp

primary
#878E19
secondary
#4B44BF
accent
#3BED46
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #878E19

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

Preview Lab → · Contrast checker → · Palette generator →

#878E19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva