#879D2C#879D2C

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

Color values

HEX#879D2C
RGBrgb(135, 157, 44)
HSLhsl(72, 56%, 39%)
HSVhsv(72, 72%, 62%)
CMYKcmyk(14%, 0%, 72%, 38.4%)
CIE-LABlab(61.17, -23.33, 53.40)
CIE-LCHlch(61.17, 58.27, 113.60°)
OKLaboklab(65.73% -0.0688 0.1192)
OKLCHoklch(65.73% 0.138 120)
XYZxyz(22.5037, 29.4468, 6.8807)
Luminance0.2945 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D2C #422C9D
analogous
#9D7A2C #879D2C #4F9D2C
triadic
#879D2C #2C879D #9D2C87
tetradic
#879D2C #2C9D7A #422C9D #9D2C4F
square
#879D2C #2C9D7A #422C9D #9D2C4F
split-complementary
#879D2C #2C4F9D #7A2C9D
monochromatic
#353D11 #5E6D1F #879D2C #AEC93D #C2D66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879D2C#FFFFFF#000000##000000
##879D2C1.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)
#A79418
Deuteranopia (green-blind)
#A49435
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879d2c;
/* rgb */ color: rgb(135, 157, 44);
/* oklch */ color: oklch(65.7% 0.138 120.0);
Tailwind
colors: {
  custom: {
    50: '#adba6d',
    500: '#879d2c',
    950: '#000000',
  },
}
SCSS
$custom: #879d2c;
$custom-light: #adba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#879d2c",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 71.681,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65732,
    "c": 0.13768,
    "h": 120
  },
  "luminance": 0.29447
}

Semantic roles & 50–950 ramp

primary
#879D2C
secondary
#7868BD
accent
#48E066
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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