#879C2D#879C2D

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

Color values

HEX#879C2D
RGBrgb(135, 156, 45)
HSLhsl(71, 55%, 39%)
HSVhsv(71, 71%, 61%)
CMYKcmyk(13.5%, 0%, 71.2%, 38.8%)
CIE-LABlab(60.89, -22.77, 52.73)
CIE-LCHlch(60.89, 57.43, 113.35°)
OKLaboklab(65.5% -0.0672 0.118)
OKLCHoklch(65.5% 0.136 119.7)
XYZxyz(22.3542, 29.1174, 6.9247)
Luminance0.2912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C2D #422D9C
analogous
#9C7A2D #879C2D #509C2D
triadic
#879C2D #2D879C #9C2D87
tetradic
#879C2D #2D9C7A #422D9C #9C2D50
square
#879C2D #2D9C7A #422D9C #9C2D50
split-complementary
#879C2D #2D509C #7A2D9C
monochromatic
#353D12 #5E6D1F #879C2D #AEC83F #C2D56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879C2D#FFFFFF#000000##000000
##879C2D1.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)
#A6931B
Deuteranopia (green-blind)
#A49336
Tritanopia (blue-blind)
#8F9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879c2d;
/* rgb */ color: rgb(135, 156, 45);
/* oklch */ color: oklch(65.5% 0.136 119.7);
Tailwind
colors: {
  custom: {
    50: '#adb96d',
    500: '#879c2d',
    950: '#000000',
  },
}
SCSS
$custom: #879c2d;
$custom-light: #adb96d;
$custom-dark: #000000;
JSON
{
  "hex": "#879c2d",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 71.351,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65501,
    "c": 0.13579,
    "h": 119.7
  },
  "luminance": 0.29117
}

Semantic roles & 50–950 ramp

primary
#879C2D
secondary
#7868BC
accent
#49DF65
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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