#879E2A#879E2A

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

Color values

HEX#879E2A
RGBrgb(135, 158, 42)
HSLhsl(72, 58%, 39%)
HSVhsv(72, 73%, 62%)
CMYKcmyk(14.6%, 0%, 73.4%, 38%)
CIE-LABlab(61.46, -23.94, 54.41)
CIE-LCHlch(61.46, 59.45, 113.74°)
OKLaboklab(65.96% -0.0707 0.121)
OKLCHoklch(65.96% 0.14 120.3)
XYZxyz(22.6369, 29.7719, 6.7440)
Luminance0.2977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E2A #412A9E
analogous
#9E7B2A #879E2A #4D9E2A
triadic
#879E2A #2A879E #9E2A87
tetradic
#879E2A #2A9E7B #412A9E #9E2A4D
square
#879E2A #2A9E7B #412A9E #9E2A4D
split-complementary
#879E2A #2A4D9E #7B2A9E
monochromatic
#343D10 #5E6E1D #879E2A #AECB3A #C2D86B

Accessibility & contrast

On white

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

On black

6.95
#879E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879E2A
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879E2A#FFFFFF#000000##000000
##879E2A1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89514
Deuteranopia (green-blind)
#A59534
Tritanopia (blue-blind)
#8F9588
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879e2a;
/* rgb */ color: rgb(135, 158, 42);
/* oklch */ color: oklch(66.0% 0.140 120.3);
Tailwind
colors: {
  custom: {
    50: '#adba6c',
    500: '#879e2a',
    950: '#000000',
  },
}
SCSS
$custom: #879e2a;
$custom-light: #adba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#879e2a",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 71.897,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65956,
    "c": 0.14018,
    "h": 120.3
  },
  "luminance": 0.29772
}

Semantic roles & 50–950 ramp

primary
#879E2A
secondary
#7766BE
accent
#47E165
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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