#879C28#879C28

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

Color values

HEX#879C28
RGBrgb(135, 156, 40)
HSLhsl(71, 59%, 38%)
HSVhsv(71, 74%, 61%)
CMYKcmyk(13.5%, 0%, 74.4%, 38.8%)
CIE-LABlab(60.85, -23.05, 54.55)
CIE-LCHlch(60.85, 59.22, 112.90°)
OKLaboklab(65.46% -0.0684 0.121)
OKLCHoklch(65.46% 0.139 119.5)
XYZxyz(22.2636, 29.0812, 6.4474)
Luminance0.2908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C28 #3D289C
analogous
#9C7728 #879C28 #4D9C28
triadic
#879C28 #28879C #9C2887
tetradic
#879C28 #289C77 #3D289C #9C284D
square
#879C28 #289C77 #3D289C #9C284D
split-complementary
#879C28 #284D9C #77289C
monochromatic
#333B0F #5D6B1C #879C28 #B0CB36 #C3D867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879C28#FFFFFF#000000##000000
##879C281.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)
#A69310
Deuteranopia (green-blind)
#A49332
Tritanopia (blue-blind)
#8F9386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879c28;
/* rgb */ color: rgb(135, 156, 40);
/* oklch */ color: oklch(65.5% 0.139 119.5);
Tailwind
colors: {
  custom: {
    50: '#adb96b',
    500: '#879c28',
    950: '#000000',
  },
}
SCSS
$custom: #879c28;
$custom-light: #adb96b;
$custom-dark: #000000;
JSON
{
  "hex": "#879c28",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 70.862,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65465,
    "c": 0.139,
    "h": 119.5
  },
  "luminance": 0.29081
}

Semantic roles & 50–950 ramp

primary
#879C28
secondary
#7362BE
accent
#45E262
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879C28

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

Preview Lab → · Contrast checker → · Palette generator →

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