#879F2A#879F2A

#879F2A is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.2% C 0.141 H 120.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#879F2A
RGBrgb(135, 159, 42)
HSLhsl(72, 58%, 39%)
HSVhsv(72, 74%, 62%)
CMYKcmyk(15.1%, 0%, 73.6%, 37.6%)
CIE-LABlab(61.75, -24.43, 54.70)
CIE-LCHlch(61.75, 59.91, 114.07°)
OKLaboklab(66.19% -0.0721 0.1217)
OKLCHoklch(66.19% 0.141 120.6)
XYZxyz(22.8081, 30.1144, 6.8011)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F2A #422A9F
analogous
#9F7D2A #879F2A #4C9F2A
triadic
#879F2A #2A879F #9F2A87
tetradic
#879F2A #2A9F7D #422A9F #9F2A4C
square
#879F2A #2A9F7D #422A9F #9F2A4C
split-complementary
#879F2A #2A4C9F #7D2A9F
monochromatic
#353E10 #5E6F1D #879F2A #AECB3B #C2D86B

Accessibility & contrast

On white

2.99
#879F2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#879F2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879F2A
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879F2A#FFFFFF#000000##000000
##879F2A1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99513
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#8F9688
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f2a;
/* rgb */ color: rgb(135, 159, 42);
/* oklch */ color: oklch(66.2% 0.141 120.6);
Tailwind
colors: {
  custom: {
    50: '#adbb6c',
    500: '#879f2a',
    950: '#000000',
  },
}
SCSS
$custom: #879f2a;
$custom-light: #adbb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#879f2a",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 42
  },
  "hsl": {
    "h": 72.308,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66194,
    "c": 0.1414,
    "h": 120.6
  },
  "luminance": 0.30114
}

Semantic roles & 50–950 ramp

primary
#879F2A
secondary
#7866BF
accent
#46E166
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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