#879D2D#879D2D

#879D2D is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.7% C 0.137 H 120.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#879D2D
RGBrgb(135, 157, 45)
HSLhsl(72, 55%, 40%)
HSVhsv(72, 71%, 62%)
CMYKcmyk(14%, 0%, 71.3%, 38.4%)
CIE-LABlab(61.18, -23.27, 53.02)
CIE-LCHlch(61.18, 57.90, 113.69°)
OKLaboklab(65.74% -0.0686 0.1186)
OKLCHoklch(65.74% 0.137 120)
XYZxyz(22.5227, 29.4544, 6.9809)
Luminance0.2945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D2D #432D9D
analogous
#9D7B2D #879D2D #4F9D2D
triadic
#879D2D #2D879D #9D2D87
tetradic
#879D2D #2D9D7B #432D9D #9D2D4F
square
#879D2D #2D9D7B #432D9D #9D2D4F
split-complementary
#879D2D #2D4F9D #7B2D9D
monochromatic
#353E12 #5E6D1F #879D2D #ADC83F #C1D66F

Accessibility & contrast

On white

3.05
#879D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#879D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D2D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D2D#FFFFFF#000000##000000
##879D2D1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941A
Deuteranopia (green-blind)
#A49436
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879d2d;
/* rgb */ color: rgb(135, 157, 45);
/* oklch */ color: oklch(65.7% 0.137 120.0);
Tailwind
colors: {
  custom: {
    50: '#adba6d',
    500: '#879d2d',
    950: '#000000',
  },
}
SCSS
$custom: #879d2d;
$custom-light: #adba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#879d2d",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 71.786,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65739,
    "c": 0.13702,
    "h": 120
  },
  "luminance": 0.29454
}

Semantic roles & 50–950 ramp

primary
#879D2D
secondary
#7969BD
accent
#49DF66
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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