#879A2F#879A2F

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

Color values

HEX#879A2F
RGBrgb(135, 154, 47)
HSLhsl(71, 53%, 39%)
HSVhsv(71, 69%, 60%)
CMYKcmyk(12.3%, 0%, 69.5%, 39.6%)
CIE-LABlab(60.31, -21.64, 51.37)
CIE-LCHlch(60.31, 55.74, 112.85°)
OKLaboklab(65.04% -0.0639 0.1155)
OKLCHoklch(65.04% 0.132 119)
XYZxyz(22.0608, 28.4675, 7.0214)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A2F #422F9A
analogous
#9A782F #879A2F #529A2F
triadic
#879A2F #2F879A #9A2F87
tetradic
#879A2F #2F9A78 #422F9A #9A2F52
square
#879A2F #2F9A78 #422F9A #9A2F52
split-complementary
#879A2F #2F529A #782F9A
monochromatic
#353C12 #5E6B21 #879A2F #AEC541 #C2D370

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879A2F#FFFFFF#000000##000000
##879A2F1.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)
#A4911F
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#8F9285
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a2f;
/* rgb */ color: rgb(135, 154, 47);
/* oklch */ color: oklch(65.0% 0.132 119.0);
Tailwind
colors: {
  custom: {
    50: '#adb76e',
    500: '#879a2f',
    950: '#000000',
  },
}
SCSS
$custom: #879a2f;
$custom-light: #adb76e;
$custom-dark: #000000;
JSON
{
  "hex": "#879a2f",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 70.654,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65042,
    "c": 0.13195,
    "h": 119
  },
  "luminance": 0.28467
}

Semantic roles & 50–950 ramp

primary
#879A2F
secondary
#786ABB
accent
#4BDD65
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #879A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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