#879C27#879C27

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

Color values

HEX#879C27
RGBrgb(135, 156, 39)
HSLhsl(71, 60%, 38%)
HSVhsv(71, 75%, 61%)
CMYKcmyk(13.5%, 0%, 75%, 38.8%)
CIE-LABlab(60.85, -23.10, 54.90)
CIE-LCHlch(60.85, 59.56, 112.82°)
OKLaboklab(65.46% -0.0687 0.1216)
OKLCHoklch(65.46% 0.14 119.5)
XYZxyz(22.2468, 29.0744, 6.3590)
Luminance0.2907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C27 #3C279C
analogous
#9C7627 #879C27 #4C9C27
triadic
#879C27 #27879C #9C2787
tetradic
#879C27 #279C76 #3C279C #9C274C
square
#879C27 #279C76 #3C279C #9C274C
split-complementary
#879C27 #274C9C #76279C
monochromatic
#323A0F #5D6B1B #879C27 #B1CC34 #C4D865

Accessibility & contrast

On white

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

On black

6.81
#879C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879C27
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879C27#FFFFFF#000000##000000
##879C271.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6930E
Deuteranopia (green-blind)
#A49331
Tritanopia (blue-blind)
#8F9386
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879c27;
/* rgb */ color: rgb(135, 156, 39);
/* oklch */ color: oklch(65.5% 0.140 119.5);
Tailwind
colors: {
  custom: {
    50: '#adb96a',
    500: '#879c27',
    950: '#000000',
  },
}
SCSS
$custom: #879c27;
$custom-light: #adb96a;
$custom-dark: #000000;
JSON
{
  "hex": "#879c27",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 39
  },
  "hsl": {
    "h": 70.769,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65459,
    "c": 0.1396,
    "h": 119.5
  },
  "luminance": 0.29074
}

Semantic roles & 50–950 ramp

primary
#879C27
secondary
#7161BE
accent
#45E361
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879C27

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

Preview Lab → · Contrast checker → · Palette generator →

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