#879F2D#879F2D

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

Color values

HEX#879F2D
RGBrgb(135, 159, 45)
HSLhsl(73, 56%, 40%)
HSVhsv(73, 72%, 62%)
CMYKcmyk(15.1%, 0%, 71.7%, 37.6%)
CIE-LABlab(61.77, -24.26, 53.61)
CIE-LCHlch(61.77, 58.84, 114.35°)
OKLaboklab(66.22% -0.0713 0.1199)
OKLCHoklch(66.22% 0.139 120.8)
XYZxyz(22.8638, 30.1367, 7.0946)
Luminance0.3014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F2D #452D9F
analogous
#9F7E2D #879F2D #4E9F2D
triadic
#879F2D #2D879F #9F2D87
tetradic
#879F2D #2D9F7E #452D9F #9F2D4E
square
#879F2D #2D9F7E #452D9F #9F2D4E
split-complementary
#879F2D #2D4E9F #7E2D9F
monochromatic
#364012 #5E6F20 #879F2D #ACC940 #C1D670

Accessibility & contrast

On white

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

On black

7.03
#879F2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879F2D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879F2D#FFFFFF#000000##000000
##879F2D1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99619
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#8F9789
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f2d;
/* rgb */ color: rgb(135, 159, 45);
/* oklch */ color: oklch(66.2% 0.139 120.8);
Tailwind
colors: {
  custom: {
    50: '#adbb6e',
    500: '#879f2d',
    950: '#000000',
  },
}
SCSS
$custom: #879f2d;
$custom-light: #adbb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#879f2d",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 45
  },
  "hsl": {
    "h": 72.632,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.13947,
    "h": 120.8
  },
  "luminance": 0.30137
}

Semantic roles & 50–950 ramp

primary
#879F2D
secondary
#7C6ABE
accent
#49DF68
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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