#878E17#878E17

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

Color values

HEX#878E17
RGBrgb(135, 142, 23)
HSLhsl(64, 72%, 32%)
HSVhsv(64, 84%, 56%)
CMYKcmyk(4.9%, 0%, 83.8%, 44.3%)
CIE-LABlab(56.64, -16.62, 56.06)
CIE-LCHlch(56.64, 58.48, 106.51°)
OKLaboklab(62.06% -0.0521 0.1212)
OKLCHoklch(62.06% 0.132 113.3)
XYZxyz(19.8200, 24.5592, 4.5068)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#878E17 #1E178E
analogous
#8E5917 #878E17 #4C8E17
triadic
#878E17 #17878E #8E1787
tetradic
#878E17 #178E59 #1E178E #8E174C
square
#878E17 #178E59 #1E178E #8E174C
split-complementary
#878E17 #174C8E #59178E
monochromatic
#232506 #55590E #878E17 #B9C320 #D7E03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##878E17#FFFFFF#000000##000000
##878E171.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)
#998923
Tritanopia (blue-blind)
#918579
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #878e17;
/* rgb */ color: rgb(135, 142, 23);
/* oklch */ color: oklch(62.1% 0.132 113.3);
Tailwind
colors: {
  custom: {
    50: '#aeae61',
    500: '#878e17',
    950: '#000000',
  },
}
SCSS
$custom: #878e17;
$custom-light: #aeae61;
$custom-dark: #000000;
JSON
{
  "hex": "#878e17",
  "rgb": {
    "r": 135,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 63.529,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62055,
    "c": 0.13186,
    "h": 113.3
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#878E17
secondary
#4840C0
accent
#39EF44
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #878E17

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

Preview Lab → · Contrast checker → · Palette generator →

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