#879B2F#879B2F

#879B2F is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.3% C 0.133 H 119.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#879B2F
RGBrgb(135, 155, 47)
HSLhsl(71, 53%, 40%)
HSVhsv(71, 70%, 61%)
CMYKcmyk(12.9%, 0%, 69.7%, 39.2%)
CIE-LABlab(60.60, -22.14, 51.66)
CIE-LCHlch(60.60, 56.21, 113.20°)
OKLaboklab(65.28% -0.0653 0.1161)
OKLCHoklch(65.28% 0.133 119.3)
XYZxyz(22.2265, 28.7990, 7.0766)
Luminance0.2880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B2F #432F9B
analogous
#9B792F #879B2F #519B2F
triadic
#879B2F #2F879B #9B2F87
tetradic
#879B2F #2F9B79 #432F9B #9B2F51
square
#879B2F #2F9B79 #432F9B #9B2F51
split-complementary
#879B2F #2F519B #792F9B
monochromatic
#353D13 #5E6C21 #879B2F #ADC642 #C1D471

Accessibility & contrast

On white

3.11
#879B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#879B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879B2F
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879B2F#FFFFFF#000000##000000
##879B2F1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921E
Deuteranopia (green-blind)
#A39337
Tritanopia (blue-blind)
#8F9385
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #879b2f;
/* rgb */ color: rgb(135, 155, 47);
/* oklch */ color: oklch(65.3% 0.133 119.3);
Tailwind
colors: {
  custom: {
    50: '#adb86e',
    500: '#879b2f',
    950: '#000000',
  },
}
SCSS
$custom: #879b2f;
$custom-light: #adb86e;
$custom-dark: #000000;
JSON
{
  "hex": "#879b2f",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 71.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65279,
    "c": 0.13318,
    "h": 119.3
  },
  "luminance": 0.28799
}

Semantic roles & 50–950 ramp

primary
#879B2F
secondary
#796ABB
accent
#4BDD66
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #879B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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