#879816#879816

#879816 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.4% C 0.143 H 117.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#879816
RGBrgb(135, 152, 22)
HSLhsl(68, 75%, 34%)
HSVhsv(68, 86%, 60%)
CMYKcmyk(11.2%, 0%, 85.5%, 40.4%)
CIE-LABlab(59.59, -21.78, 58.83)
CIE-LCHlch(59.59, 62.73, 110.32°)
OKLaboklab(64.42% -0.0663 0.127)
OKLCHoklch(64.42% 0.143 117.6)
XYZxyz(21.3653, 27.6655, 4.9734)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879816 #271698
analogous
#986816 #879816 #469816
triadic
#879816 #168798 #981687
tetradic
#879816 #169868 #271698 #981646
square
#879816 #169868 #271698 #981646
split-complementary
#879816 #164698 #681698
monochromatic
#282D07 #58630E #879816 #B6CD1E #CFE444

Accessibility & contrast

On white

3.21
#879816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#879816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879816
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879816#FFFFFF#000000##000000
##8798161.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A19025
Tritanopia (blue-blind)
#908F81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #879816;
/* rgb */ color: rgb(135, 152, 22);
/* oklch */ color: oklch(64.4% 0.143 117.6);
Tailwind
colors: {
  custom: {
    50: '#aeb663',
    500: '#879816',
    950: '#000000',
  },
}
SCSS
$custom: #879816;
$custom-light: #aeb663;
$custom-dark: #000000;
JSON
{
  "hex": "#879816",
  "rgb": {
    "r": 135,
    "g": 152,
    "b": 22
  },
  "hsl": {
    "h": 67.846,
    "s": 74.713,
    "l": 34.118
  },
  "oklch": {
    "l": 0.64417,
    "c": 0.14323,
    "h": 117.6
  },
  "luminance": 0.27665
}

Semantic roles & 50–950 ramp

primary
#879816
secondary
#5645C5
accent
#36F14F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879816

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

Preview Lab → · Contrast checker → · Palette generator →

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