#879D16#879D16

#879D16 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.6% C 0.149 H 119.4°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#879D16
RGBrgb(135, 157, 22)
HSLhsl(70, 75%, 35%)
HSVhsv(70, 86%, 62%)
CMYKcmyk(14%, 0%, 86%, 38.4%)
CIE-LABlab(61.07, -24.28, 60.08)
CIE-LCHlch(61.07, 64.80, 112.01°)
OKLaboklab(65.61% -0.0732 0.1296)
OKLCHoklch(65.61% 0.149 119.4)
XYZxyz(22.1940, 29.3229, 5.2496)
Luminance0.2932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D16 #2C169D
analogous
#9D7016 #879D16 #439D16
triadic
#879D16 #16879D #9D1687
tetradic
#879D16 #169D70 #2C169D #9D1643
square
#879D16 #169D70 #2C169D #9D1643
split-complementary
#879D16 #16439D #70169D
monochromatic
#2B3207 #59670E #879D16 #B5D31E #CCE548

Accessibility & contrast

On white

3.06
#879D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#879D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D16
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D16#FFFFFF#000000##000000
##879D161.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A59426
Tritanopia (blue-blind)
#909486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879d16;
/* rgb */ color: rgb(135, 157, 22);
/* oklch */ color: oklch(65.6% 0.149 119.4);
Tailwind
colors: {
  custom: {
    50: '#aeb963',
    500: '#879d16',
    950: '#000000',
  },
}
SCSS
$custom: #879d16;
$custom-light: #aeb963;
$custom-dark: #000000;
JSON
{
  "hex": "#879d16",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 22
  },
  "hsl": {
    "h": 69.778,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6561,
    "c": 0.14887,
    "h": 119.4
  },
  "luminance": 0.29323
}

Semantic roles & 50–950 ramp

primary
#879D16
secondary
#5D48C7
accent
#36F254
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879D16

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

Preview Lab → · Contrast checker → · Palette generator →

#879D16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva