#879916#879916

#879916 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.7% C 0.144 H 118.0°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#879916
RGBrgb(135, 153, 22)
HSLhsl(68, 75%, 34%)
HSVhsv(68, 86%, 60%)
CMYKcmyk(11.8%, 0%, 85.6%, 40%)
CIE-LABlab(59.88, -22.29, 59.08)
CIE-LCHlch(59.88, 63.14, 110.67°)
OKLaboklab(64.66% -0.0677 0.1275)
OKLCHoklch(64.66% 0.144 118)
XYZxyz(21.5283, 27.9915, 5.0277)
Luminance0.2799 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879916 #281699
analogous
#996A16 #879916 #469916
triadic
#879916 #168799 #991687
tetradic
#879916 #16996A #281699 #991646
square
#879916 #16996A #281699 #991646
split-complementary
#879916 #164699 #6A1699
monochromatic
#292E07 #58630E #879916 #B6CF1E #CEE445

Accessibility & contrast

On white

3.18
#879916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#879916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879916
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879916#FFFFFF#000000##000000
##8799161.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A29125
Tritanopia (blue-blind)
#909082
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #879916;
/* rgb */ color: rgb(135, 153, 22);
/* oklch */ color: oklch(64.7% 0.144 118.0);
Tailwind
colors: {
  custom: {
    50: '#aeb763',
    500: '#879916',
    950: '#000000',
  },
}
SCSS
$custom: #879916;
$custom-light: #aeb763;
$custom-dark: #000000;
JSON
{
  "hex": "#879916",
  "rgb": {
    "r": 135,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 68.244,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.64655,
    "c": 0.14435,
    "h": 118
  },
  "luminance": 0.27991
}

Semantic roles & 50–950 ramp

primary
#879916
secondary
#5746C5
accent
#36F150
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879916

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

Preview Lab → · Contrast checker → · Palette generator →

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