#879C2F#879C2F

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

Color values

HEX#879C2F
RGBrgb(135, 156, 47)
HSLhsl(72, 54%, 40%)
HSVhsv(72, 70%, 61%)
CMYKcmyk(13.5%, 0%, 69.9%, 38.8%)
CIE-LABlab(60.90, -22.65, 51.96)
CIE-LCHlch(60.90, 56.68, 113.55°)
OKLaboklab(65.52% -0.0667 0.1167)
OKLCHoklch(65.52% 0.134 119.7)
XYZxyz(22.3936, 29.1332, 7.1323)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C2F #442F9C
analogous
#9C7B2F #879C2F #509C2F
triadic
#879C2F #2F879C #9C2F87
tetradic
#879C2F #2F9C7B #442F9C #9C2F50
square
#879C2F #2F9C7B #442F9C #9C2F50
split-complementary
#879C2F #2F509C #7B2F9C
monochromatic
#363E13 #5E6D21 #879C2F #ADC642 #C1D471

Accessibility & contrast

On white

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

On black

6.83
#879C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879C2F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879C2F#FFFFFF#000000##000000
##879C2F1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879c2f;
/* rgb */ color: rgb(135, 156, 47);
/* oklch */ color: oklch(65.5% 0.134 119.7);
Tailwind
colors: {
  custom: {
    50: '#adb96e',
    500: '#879c2f',
    950: '#000000',
  },
}
SCSS
$custom: #879c2f;
$custom-light: #adb96e;
$custom-dark: #000000;
JSON
{
  "hex": "#879c2f",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 71.56,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65517,
    "c": 0.13442,
    "h": 119.7
  },
  "luminance": 0.29133
}

Semantic roles & 50–950 ramp

primary
#879C2F
secondary
#7B6BBC
accent
#4BDD67
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #879C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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