#879E2D#879E2D

#879E2D 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#879E2D
RGBrgb(135, 158, 45)
HSLhsl(72, 56%, 40%)
HSVhsv(72, 72%, 62%)
CMYKcmyk(14.6%, 0%, 71.5%, 38%)
CIE-LABlab(61.48, -23.77, 53.32)
CIE-LCHlch(61.48, 58.37, 114.02°)
OKLaboklab(65.98% -0.0699 0.1192)
OKLCHoklch(65.98% 0.138 120.4)
XYZxyz(22.6926, 29.7941, 7.0375)
Luminance0.2979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E2D #442D9E
analogous
#9E7C2D #879E2D #4F9E2D
triadic
#879E2D #2D879E #9E2D87
tetradic
#879E2D #2D9E7C #442D9E #9E2D4F
square
#879E2D #2D9E7C #442D9E #9E2D4F
split-complementary
#879E2D #2D4F9E #7C2D9E
monochromatic
#363F12 #5E6E1F #879E2D #ADC940 #C1D66F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879E2D#FFFFFF#000000##000000
##879E2D1.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)
#A8951A
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#8F9688
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879e2d;
/* rgb */ color: rgb(135, 158, 45);
/* oklch */ color: oklch(66.0% 0.138 120.4);
Tailwind
colors: {
  custom: {
    50: '#adba6d',
    500: '#879e2d',
    950: '#000000',
  },
}
SCSS
$custom: #879e2d;
$custom-light: #adba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#879e2d",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 45
  },
  "hsl": {
    "h": 72.212,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65977,
    "c": 0.13824,
    "h": 120.4
  },
  "luminance": 0.29794
}

Semantic roles & 50–950 ramp

primary
#879E2D
secondary
#7B69BD
accent
#49DF67
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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