#879F28#879F28

#879F28 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.2% C 0.143 H 120.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#879F28
RGBrgb(135, 159, 40)
HSLhsl(72, 60%, 39%)
HSVhsv(72, 75%, 62%)
CMYKcmyk(15.1%, 0%, 74.8%, 37.6%)
CIE-LABlab(61.74, -24.54, 55.40)
CIE-LCHlch(61.74, 60.59, 113.89°)
OKLaboklab(66.18% -0.0725 0.1228)
OKLCHoklch(66.18% 0.143 120.6)
XYZxyz(22.7732, 30.1004, 6.6173)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F28 #40289F
analogous
#9F7C28 #879F28 #4C9F28
triadic
#879F28 #28879F #9F2887
tetradic
#879F28 #289F7C #40289F #9F284C
square
#879F28 #289F7C #40289F #9F284C
split-complementary
#879F28 #284C9F #7C289F
monochromatic
#343D0F #5D6E1C #879F28 #AFCD37 #C2D968

Accessibility & contrast

On white

2.99
#879F28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#879F28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879F28
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879F28#FFFFFF#000000##000000
##879F281.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950F
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#8F9688
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f28;
/* rgb */ color: rgb(135, 159, 40);
/* oklch */ color: oklch(66.2% 0.143 120.6);
Tailwind
colors: {
  custom: {
    50: '#adbb6b',
    500: '#879f28',
    950: '#000000',
  },
}
SCSS
$custom: #879f28;
$custom-light: #adbb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#879f28",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 72.101,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66181,
    "c": 0.1426,
    "h": 120.6
  },
  "luminance": 0.301
}

Semantic roles & 50–950 ramp

primary
#879F28
secondary
#7664BF
accent
#45E365
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879F28

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

Preview Lab → · Contrast checker → · Palette generator →

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