#879C2C#879C2C

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

Color values

HEX#879C2C
RGBrgb(135, 156, 44)
HSLhsl(71, 56%, 39%)
HSVhsv(71, 72%, 61%)
CMYKcmyk(13.5%, 0%, 71.8%, 38.8%)
CIE-LABlab(60.88, -22.83, 53.10)
CIE-LCHlch(60.88, 57.80, 113.26°)
OKLaboklab(65.49% -0.0674 0.1186)
OKLCHoklch(65.49% 0.136 119.6)
XYZxyz(22.3352, 29.1098, 6.8245)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C2C #412C9C
analogous
#9C792C #879C2C #4F9C2C
triadic
#879C2C #2C879C #9C2C87
tetradic
#879C2C #2C9C79 #412C9C #9C2C4F
square
#879C2C #2C9C79 #412C9C #9C2C4F
split-complementary
#879C2C #2C4F9C #792C9C
monochromatic
#343D11 #5E6C1F #879C2C #AEC83D #C2D66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879C2C#FFFFFF#000000##000000
##879C2C1.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)
#A69319
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#8F9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879c2c;
/* rgb */ color: rgb(135, 156, 44);
/* oklch */ color: oklch(65.5% 0.136 119.6);
Tailwind
colors: {
  custom: {
    50: '#adb96d',
    500: '#879c2c',
    950: '#000000',
  },
}
SCSS
$custom: #879c2c;
$custom-light: #adb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#879c2c",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 71.25,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65494,
    "c": 0.13646,
    "h": 119.6
  },
  "luminance": 0.2911
}

Semantic roles & 50–950 ramp

primary
#879C2C
secondary
#7767BD
accent
#49DF65
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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