#879D2E#879D2E

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

Color values

HEX#879D2E
RGBrgb(135, 157, 46)
HSLhsl(72, 55%, 40%)
HSVhsv(72, 71%, 62%)
CMYKcmyk(14%, 0%, 70.7%, 38.4%)
CIE-LABlab(61.19, -23.21, 52.64)
CIE-LCHlch(61.19, 57.53, 113.79°)
OKLaboklab(65.75% -0.0683 0.118)
OKLCHoklch(65.75% 0.136 120.1)
XYZxyz(22.5422, 29.4622, 7.0835)
Luminance0.2946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D2E #442E9D
analogous
#9D7C2E #879D2E #4F9D2E
triadic
#879D2E #2E879D #9D2E87
tetradic
#879D2E #2E9D7C #442E9D #9D2E4F
square
#879D2E #2E9D7C #442E9D #9D2E4F
split-complementary
#879D2E #2E4F9D #7C2E9D
monochromatic
#363E12 #5E6E20 #879D2E #ADC741 #C1D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879D2E#FFFFFF#000000##000000
##879D2E1.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)
#A7941C
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879d2e;
/* rgb */ color: rgb(135, 157, 46);
/* oklch */ color: oklch(65.7% 0.136 120.1);
Tailwind
colors: {
  custom: {
    50: '#adba6e',
    500: '#879d2e',
    950: '#000000',
  },
}
SCSS
$custom: #879d2e;
$custom-light: #adba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#879d2e",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 71.892,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65747,
    "c": 0.13634,
    "h": 120.1
  },
  "luminance": 0.29462
}

Semantic roles & 50–950 ramp

primary
#879D2E
secondary
#7B6ABD
accent
#4ADE67
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #879D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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