#879F2E#879F2E

#879F2E is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.2% C 0.139 H 120.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#879F2E
RGBrgb(135, 159, 46)
HSLhsl(73, 55%, 40%)
HSVhsv(73, 71%, 62%)
CMYKcmyk(15.1%, 0%, 71.1%, 37.6%)
CIE-LABlab(61.78, -24.20, 53.24)
CIE-LCHlch(61.78, 58.48, 114.45°)
OKLaboklab(66.22% -0.0711 0.1192)
OKLCHoklch(66.22% 0.139 120.8)
XYZxyz(22.8833, 30.1445, 7.1972)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F2E #462E9F
analogous
#9F7E2E #879F2E #4F9F2E
triadic
#879F2E #2E879F #9F2E87
tetradic
#879F2E #2E9F7E #462E9F #9F2E4F
square
#879F2E #2E9F7E #462E9F #9F2E4F
split-complementary
#879F2E #2E4F9F #7E2E9F
monochromatic
#364013 #5F7020 #879F2E #ACC842 #C1D671

Accessibility & contrast

On white

2.99
#879F2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#879F2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879F2E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879F2E#FFFFFF#000000##000000
##879F2E1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961B
Deuteranopia (green-blind)
#A69537
Tritanopia (blue-blind)
#8F9789
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f2e;
/* rgb */ color: rgb(135, 159, 46);
/* oklch */ color: oklch(66.2% 0.139 120.8);
Tailwind
colors: {
  custom: {
    50: '#adbb6e',
    500: '#879f2e',
    950: '#000000',
  },
}
SCSS
$custom: #879f2e;
$custom-light: #adbb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#879f2e",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 46
  },
  "hsl": {
    "h": 72.743,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66223,
    "c": 0.1388,
    "h": 120.8
  },
  "luminance": 0.30144
}

Semantic roles & 50–950 ramp

primary
#879F2E
secondary
#7D6BBE
accent
#49DE69
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #879F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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