#879A2E#879A2E

#879A2E is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 65.0% C 0.133 H 118.9°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#879A2E
RGBrgb(135, 154, 46)
HSLhsl(71, 54%, 39%)
HSVhsv(71, 70%, 60%)
CMYKcmyk(12.3%, 0%, 70.1%, 39.6%)
CIE-LABlab(60.30, -21.70, 51.75)
CIE-LCHlch(60.30, 56.12, 112.75°)
OKLaboklab(65.03% -0.0641 0.1161)
OKLCHoklch(65.03% 0.133 118.9)
XYZxyz(22.0408, 28.4595, 6.9163)
Luminance0.2846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A2E #412E9A
analogous
#9A772E #879A2E #519A2E
triadic
#879A2E #2E879A #9A2E87
tetradic
#879A2E #2E9A77 #412E9A #9A2E51
square
#879A2E #2E9A77 #412E9A #9A2E51
split-complementary
#879A2E #2E519A #772E9A
monochromatic
#343C12 #5E6B20 #879A2E #AEC63F #C2D46F

Accessibility & contrast

On white

3.14
#879A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#879A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879A2E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879A2E#FFFFFF#000000##000000
##879A2E1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4911D
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#8F9285
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a2e;
/* rgb */ color: rgb(135, 154, 46);
/* oklch */ color: oklch(65.0% 0.133 118.9);
Tailwind
colors: {
  custom: {
    50: '#adb76e',
    500: '#879a2e',
    950: '#000000',
  },
}
SCSS
$custom: #879a2e;
$custom-light: #adb76e;
$custom-dark: #000000;
JSON
{
  "hex": "#879a2e",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 70.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65034,
    "c": 0.13266,
    "h": 118.9
  },
  "luminance": 0.28459
}

Semantic roles & 50–950 ramp

primary
#879A2E
secondary
#7769BB
accent
#4ADD64
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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