#879517#879517

#879517 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 63.7% C 0.140 H 116.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#879517
RGBrgb(135, 149, 23)
HSLhsl(67, 73%, 34%)
HSVhsv(67, 85%, 58%)
CMYKcmyk(9.4%, 0%, 84.6%, 41.6%)
CIE-LABlab(58.70, -20.23, 57.83)
CIE-LCHlch(58.70, 61.27, 109.28°)
OKLaboklab(63.71% -0.062 0.125)
OKLCHoklch(63.71% 0.14 116.4)
XYZxyz(20.8944, 26.7080, 4.8649)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879517 #251795
analogous
#956417 #879517 #489517
triadic
#879517 #178795 #951787
tetradic
#879517 #179564 #251795 #951748
square
#879517 #179564 #251795 #951748
split-complementary
#879517 #174895 #641795
monochromatic
#272B07 #57600F #879517 #B7CA1F #D1E244

Accessibility & contrast

On white

3.31
#879517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#879517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879517
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879517#FFFFFF#000000##000000
##8795171.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9F8E25
Tritanopia (blue-blind)
#908C7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #879517;
/* rgb */ color: rgb(135, 149, 23);
/* oklch */ color: oklch(63.7% 0.140 116.4);
Tailwind
colors: {
  custom: {
    50: '#aeb462',
    500: '#879517',
    950: '#000000',
  },
}
SCSS
$custom: #879517;
$custom-light: #aeb462;
$custom-dark: #000000;
JSON
{
  "hex": "#879517",
  "rgb": {
    "r": 135,
    "g": 149,
    "b": 23
  },
  "hsl": {
    "h": 66.667,
    "s": 73.256,
    "l": 33.725
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.1395,
    "h": 116.4
  },
  "luminance": 0.26708
}

Semantic roles & 50–950 ramp

primary
#879517
secondary
#5345C3
accent
#38F04C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879517

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

Preview Lab → · Contrast checker → · Palette generator →

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