#879E2E#879E2E

#879E2E is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 66.0% C 0.138 H 120.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#879E2E
RGBrgb(135, 158, 46)
HSLhsl(72, 55%, 40%)
HSVhsv(72, 71%, 62%)
CMYKcmyk(14.6%, 0%, 70.9%, 38%)
CIE-LABlab(61.48, -23.71, 52.94)
CIE-LCHlch(61.48, 58.01, 114.12°)
OKLaboklab(65.99% -0.0697 0.1186)
OKLCHoklch(65.99% 0.138 120.4)
XYZxyz(22.7121, 29.8019, 7.1401)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E2E #452E9E
analogous
#9E7D2E #879E2E #4F9E2E
triadic
#879E2E #2E879E #9E2E87
tetradic
#879E2E #2E9E7D #452E9E #9E2E4F
square
#879E2E #2E9E7D #452E9E #9E2E4F
split-complementary
#879E2E #2E4F9E #7D2E9E
monochromatic
#363F12 #5F6F20 #879E2E #ACC841 #C1D671

Accessibility & contrast

On white

3.02
#879E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#879E2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879E2E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879E2E#FFFFFF#000000##000000
##879E2E1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8951C
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#8F9688
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879e2e;
/* rgb */ color: rgb(135, 158, 46);
/* oklch */ color: oklch(66.0% 0.138 120.4);
Tailwind
colors: {
  custom: {
    50: '#adba6e',
    500: '#879e2e',
    950: '#000000',
  },
}
SCSS
$custom: #879e2e;
$custom-light: #adba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#879e2e",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 46
  },
  "hsl": {
    "h": 72.321,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.65985,
    "c": 0.13757,
    "h": 120.4
  },
  "luminance": 0.29802
}

Semantic roles & 50–950 ramp

primary
#879E2E
secondary
#7C6BBD
accent
#4ADE68
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #879E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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