#879A2D#879A2D

#879A2D 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#879A2D
RGBrgb(135, 154, 45)
HSLhsl(70, 55%, 39%)
HSVhsv(70, 71%, 60%)
CMYKcmyk(12.3%, 0%, 70.8%, 39.6%)
CIE-LABlab(60.29, -21.76, 52.14)
CIE-LCHlch(60.29, 56.50, 112.65°)
OKLaboklab(65.03% -0.0644 0.1168)
OKLCHoklch(65.03% 0.133 118.9)
XYZxyz(22.0214, 28.4517, 6.8137)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A2D #402D9A
analogous
#9A772D #879A2D #519A2D
triadic
#879A2D #2D879A #9A2D87
tetradic
#879A2D #2D9A77 #402D9A #9A2D51
square
#879A2D #2D9A77 #402D9A #9A2D51
split-complementary
#879A2D #2D519A #772D9A
monochromatic
#343B11 #5D6B1F #879A2D #AFC73E #C2D46D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879A2D#FFFFFF#000000##000000
##879A2D1.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)
#A4911B
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#8F9284
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a2d;
/* rgb */ color: rgb(135, 154, 45);
/* oklch */ color: oklch(65.0% 0.133 118.9);
Tailwind
colors: {
  custom: {
    50: '#adb76d',
    500: '#879a2d',
    950: '#000000',
  },
}
SCSS
$custom: #879a2d;
$custom-light: #adb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#879a2d",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 70.459,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65026,
    "c": 0.13335,
    "h": 118.9
  },
  "luminance": 0.28452
}

Semantic roles & 50–950 ramp

primary
#879A2D
secondary
#7667BB
accent
#4ADE64
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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