#879C2B#879C2B

#879C2B is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.5% C 0.137 H 119.6°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#879C2B
RGBrgb(135, 156, 43)
HSLhsl(71, 57%, 39%)
HSVhsv(71, 72%, 61%)
CMYKcmyk(13.5%, 0%, 72.4%, 38.8%)
CIE-LABlab(60.87, -22.88, 53.47)
CIE-LCHlch(60.87, 58.16, 113.17°)
OKLaboklab(65.49% -0.0677 0.1192)
OKLCHoklch(65.49% 0.137 119.6)
XYZxyz(22.3166, 29.1024, 6.7267)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C2B #402B9C
analogous
#9C792B #879C2B #4F9C2B
triadic
#879C2B #2B879C #9C2B87
tetradic
#879C2B #2B9C79 #402B9C #9C2B4F
square
#879C2B #2B9C79 #402B9C #9C2B4F
split-complementary
#879C2B #2B4F9C #792B9C
monochromatic
#343C11 #5D6C1E #879C2B #AFC93B #C2D66B

Accessibility & contrast

On white

3.08
#879C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#879C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879C2B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879C2B#FFFFFF#000000##000000
##879C2B1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#A49334
Tritanopia (blue-blind)
#8F9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879c2b;
/* rgb */ color: rgb(135, 156, 43);
/* oklch */ color: oklch(65.5% 0.137 119.6);
Tailwind
colors: {
  custom: {
    50: '#adb96c',
    500: '#879c2b',
    950: '#000000',
  },
}
SCSS
$custom: #879c2b;
$custom-light: #adb96c;
$custom-dark: #000000;
JSON
{
  "hex": "#879c2b",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 71.15,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65486,
    "c": 0.13711,
    "h": 119.6
  },
  "luminance": 0.29102
}

Semantic roles & 50–950 ramp

primary
#879C2B
secondary
#7666BD
accent
#48E064
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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