#879D2F#879D2F

#879D2F is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.8% C 0.136 H 120.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#879D2F
RGBrgb(135, 157, 47)
HSLhsl(72, 54%, 40%)
HSVhsv(72, 70%, 62%)
CMYKcmyk(14%, 0%, 70.1%, 38.4%)
CIE-LABlab(61.19, -23.15, 52.26)
CIE-LCHlch(61.19, 57.16, 113.89°)
OKLaboklab(65.76% -0.068 0.1173)
OKLCHoklch(65.76% 0.136 120.1)
XYZxyz(22.5621, 29.4702, 7.1885)
Luminance0.2947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D2F #452F9D
analogous
#9D7C2F #879D2F #509D2F
triadic
#879D2F #2F879D #9D2F87
tetradic
#879D2F #2F9D7C #452F9D #9D2F50
square
#879D2F #2F9D7C #452F9D #9D2F50
split-complementary
#879D2F #2F509D #7C2F9D
monochromatic
#363F13 #5F6E21 #879D2F #ACC743 #C1D572

Accessibility & contrast

On white

3.05
#879D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#879D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D2F
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D2F#FFFFFF#000000##000000
##879D2F1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941E
Deuteranopia (green-blind)
#A49438
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879d2f;
/* rgb */ color: rgb(135, 157, 47);
/* oklch */ color: oklch(65.8% 0.136 120.1);
Tailwind
colors: {
  custom: {
    50: '#adba6e',
    500: '#879d2f',
    950: '#000000',
  },
}
SCSS
$custom: #879d2f;
$custom-light: #adba6e;
$custom-dark: #000000;
JSON
{
  "hex": "#879d2f",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 72,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.65755,
    "c": 0.13564,
    "h": 120.1
  },
  "luminance": 0.2947
}

Semantic roles & 50–950 ramp

primary
#879D2F
secondary
#7C6BBC
accent
#4BDD68
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #879D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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