#879D1A#879D1A

#879D1A is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 65.6% C 0.147 H 119.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#879D1A
RGBrgb(135, 157, 26)
HSLhsl(70, 72%, 36%)
HSVhsv(70, 83%, 62%)
CMYKcmyk(14%, 0%, 83.4%, 38.4%)
CIE-LABlab(61.08, -24.15, 59.10)
CIE-LCHlch(61.08, 63.85, 112.23°)
OKLaboklab(65.63% -0.0725 0.1282)
OKLCHoklch(65.63% 0.147 119.5)
XYZxyz(22.2356, 29.3395, 5.4688)
Luminance0.2934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D1A #301A9D
analogous
#9D711A #879D1A #459D1A
triadic
#879D1A #1A879D #9D1A87
tetradic
#879D1A #1A9D71 #301A9D #9D1A45
square
#879D1A #1A9D71 #301A9D #9D1A45
split-complementary
#879D1A #1A459D #711A9D
monochromatic
#2D3409 #5A6811 #879D1A #B4D223 #C9E24F

Accessibility & contrast

On white

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

On black

6.87
#879D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D1A
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D1A#FFFFFF#000000##000000
##879D1A1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89300
Deuteranopia (green-blind)
#A59428
Tritanopia (blue-blind)
#8F9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879d1a;
/* rgb */ color: rgb(135, 157, 26);
/* oklch */ color: oklch(65.6% 0.147 119.5);
Tailwind
colors: {
  custom: {
    50: '#aeb965',
    500: '#879d1a',
    950: '#000000',
  },
}
SCSS
$custom: #879d1a;
$custom-light: #aeb965;
$custom-dark: #000000;
JSON
{
  "hex": "#879d1a",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 70.076,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65626,
    "c": 0.14731,
    "h": 119.5
  },
  "luminance": 0.29339
}

Semantic roles & 50–950 ramp

primary
#879D1A
secondary
#624EC4
accent
#39EE58
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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