#879D3B#879D3B

#879D3B is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.9% C 0.126 H 120.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#879D3B
RGBrgb(135, 157, 59)
HSLhsl(73, 45%, 42%)
HSVhsv(73, 62%, 62%)
CMYKcmyk(14%, 0%, 62.4%, 38.4%)
CIE-LABlab(61.29, -22.30, 47.31)
CIE-LCHlch(61.29, 52.30, 115.24°)
OKLaboklab(65.86% -0.0645 0.1087)
OKLCHoklch(65.86% 0.126 120.7)
XYZxyz(22.8383, 29.5807, 8.6433)
Luminance0.2958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D3B #513B9D
analogous
#9D823B #879D3B #569D3B
triadic
#879D3B #3B879D #9D3B87
tetradic
#879D3B #3B9D82 #513B9D #9D3B56
square
#879D3B #3B9D82 #513B9D #9D3B56
split-complementary
#879D3B #3B569D #823B9D
monochromatic
#3B441A #61712A #879D3B #A8BF56 #BFD082

Accessibility & contrast

On white

3.04
#879D3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#879D3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D3B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D3B#FFFFFF#000000##000000
##879D3B1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6942F
Deuteranopia (green-blind)
#A49442
Tritanopia (blue-blind)
#8E9588
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879d3b;
/* rgb */ color: rgb(135, 157, 59);
/* oklch */ color: oklch(65.9% 0.126 120.7);
Tailwind
colors: {
  custom: {
    50: '#acba75',
    500: '#879d3b',
    950: '#000000',
  },
}
SCSS
$custom: #879d3b;
$custom-light: #acba75;
$custom-dark: #000000;
JSON
{
  "hex": "#879d3b",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 59
  },
  "hsl": {
    "h": 73.469,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.65863,
    "c": 0.12639,
    "h": 120.7
  },
  "luminance": 0.29581
}

Semantic roles & 50–950 ramp

primary
#879D3B
secondary
#887ABA
accent
#53D570
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101109
muted
#7F807B

Preview Lab

Preview with #879D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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