#879C2E#879C2E

#879C2E is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.5% C 0.135 H 119.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#879C2E
RGBrgb(135, 156, 46)
HSLhsl(71, 54%, 40%)
HSVhsv(71, 71%, 61%)
CMYKcmyk(13.5%, 0%, 70.5%, 38.8%)
CIE-LABlab(60.89, -22.71, 52.35)
CIE-LCHlch(60.89, 57.06, 113.45°)
OKLaboklab(65.51% -0.0669 0.1174)
OKLCHoklch(65.51% 0.135 119.7)
XYZxyz(22.3737, 29.1252, 7.0273)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C2E #432E9C
analogous
#9C7A2E #879C2E #509C2E
triadic
#879C2E #2E879C #9C2E87
tetradic
#879C2E #2E9C7A #432E9C #9C2E50
square
#879C2E #2E9C7A #432E9C #9C2E50
split-complementary
#879C2E #2E509C #7A2E9C
monochromatic
#353D12 #5E6D20 #879C2E #ADC740 #C1D570

Accessibility & contrast

On white

3.08
#879C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#879C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879C2E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879C2E#FFFFFF#000000##000000
##879C2E1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879c2e;
/* rgb */ color: rgb(135, 156, 46);
/* oklch */ color: oklch(65.5% 0.135 119.7);
Tailwind
colors: {
  custom: {
    50: '#adb96e',
    500: '#879c2e',
    950: '#000000',
  },
}
SCSS
$custom: #879c2e;
$custom-light: #adb96e;
$custom-dark: #000000;
JSON
{
  "hex": "#879c2e",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 46
  },
  "hsl": {
    "h": 71.455,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65509,
    "c": 0.13511,
    "h": 119.7
  },
  "luminance": 0.29125
}

Semantic roles & 50–950 ramp

primary
#879C2E
secondary
#796ABC
accent
#4ADE66
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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