#879F2F#879F2F

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

Color values

HEX#879F2F
RGBrgb(135, 159, 47)
HSLhsl(73, 54%, 40%)
HSVhsv(73, 70%, 62%)
CMYKcmyk(15.1%, 0%, 70.4%, 37.6%)
CIE-LABlab(61.79, -24.14, 52.86)
CIE-LCHlch(61.79, 58.11, 114.55°)
OKLaboklab(66.23% -0.0708 0.1186)
OKLCHoklch(66.23% 0.138 120.8)
XYZxyz(22.9033, 30.1524, 7.3022)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F2F #472F9F
analogous
#9F7F2F #879F2F #4F9F2F
triadic
#879F2F #2F879F #9F2F87
tetradic
#879F2F #2F9F7F #472F9F #9F2F4F
square
#879F2F #2F9F7F #472F9F #9F2F4F
split-complementary
#879F2F #2F4F9F #7F2F9F
monochromatic
#374113 #5F7021 #879F2F #ABC844 #C0D673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879F2F#FFFFFF#000000##000000
##879F2F1.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)
#A9961D
Deuteranopia (green-blind)
#A69538
Tritanopia (blue-blind)
#8E9789
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f2f;
/* rgb */ color: rgb(135, 159, 47);
/* oklch */ color: oklch(66.2% 0.138 120.8);
Tailwind
colors: {
  custom: {
    50: '#adbb6f',
    500: '#879f2f',
    950: '#000000',
  },
}
SCSS
$custom: #879f2f;
$custom-light: #adbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#879f2f",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 72.857,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66231,
    "c": 0.13812,
    "h": 120.8
  },
  "luminance": 0.30152
}

Semantic roles & 50–950 ramp

primary
#879F2F
secondary
#7E6DBD
accent
#4ADE6A
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #879F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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