#879A28#879A28

#879A28 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 65.0% C 0.137 H 118.7°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#879A28
RGBrgb(135, 154, 40)
HSLhsl(70, 59%, 38%)
HSVhsv(70, 74%, 60%)
CMYKcmyk(12.3%, 0%, 74%, 39.6%)
CIE-LABlab(60.26, -22.04, 53.98)
CIE-LCHlch(60.26, 58.31, 112.21°)
OKLaboklab(64.99% -0.0656 0.1198)
OKLCHoklch(64.99% 0.137 118.7)
XYZxyz(21.9307, 28.4155, 6.3365)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879A28 #3B289A
analogous
#9A7428 #879A28 #4E9A28
triadic
#879A28 #28879A #9A2887
tetradic
#879A28 #289A74 #3B289A #9A284E
square
#879A28 #289A74 #3B289A #9A284E
split-complementary
#879A28 #284E9A #74289A
monochromatic
#32390F #5C691B #879A28 #B2CA35 #C4D765

Accessibility & contrast

On white

3.14
#879A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#879A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879A28
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879A28#FFFFFF#000000##000000
##879A281.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49112
Deuteranopia (green-blind)
#A29232
Tritanopia (blue-blind)
#8F9184
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #879a28;
/* rgb */ color: rgb(135, 154, 40);
/* oklch */ color: oklch(65.0% 0.137 118.7);
Tailwind
colors: {
  custom: {
    50: '#adb76a',
    500: '#879a28',
    950: '#000000',
  },
}
SCSS
$custom: #879a28;
$custom-light: #adb76a;
$custom-dark: #000000;
JSON
{
  "hex": "#879a28",
  "rgb": {
    "r": 135,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 70,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6499,
    "c": 0.1366,
    "h": 118.7
  },
  "luminance": 0.28415
}

Semantic roles & 50–950 ramp

primary
#879A28
secondary
#7061BD
accent
#46E260
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879A28

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

Preview Lab → · Contrast checker → · Palette generator →

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