#879F1A#879F1A

#879F1A is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 66.1% C 0.150 H 120.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#879F1A
RGBrgb(135, 159, 26)
HSLhsl(71, 72%, 36%)
HSVhsv(71, 84%, 62%)
CMYKcmyk(15.1%, 0%, 83.6%, 37.6%)
CIE-LABlab(61.67, -25.14, 59.62)
CIE-LCHlch(61.67, 64.70, 112.87°)
OKLaboklab(66.1% -0.0752 0.1293)
OKLCHoklch(66.1% 0.15 120.2)
XYZxyz(22.5767, 30.0218, 5.5825)
Luminance0.3002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F1A #321A9F
analogous
#9F751A #879F1A #459F1A
triadic
#879F1A #1A879F #9F1A87
tetradic
#879F1A #1A9F75 #321A9F #9F1A45
square
#879F1A #1A9F75 #321A9F #9F1A45
split-complementary
#879F1A #1A459F #751A9F
monochromatic
#2E3609 #5A6A11 #879F1A #B4D423 #C8E351

Accessibility & contrast

On white

3.00
#879F1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#879F1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879F1A
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879F1A#FFFFFF#000000##000000
##879F1A1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A79529
Tritanopia (blue-blind)
#8F9687
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f1a;
/* rgb */ color: rgb(135, 159, 26);
/* oklch */ color: oklch(66.1% 0.150 120.2);
Tailwind
colors: {
  custom: {
    50: '#aebb65',
    500: '#879f1a',
    950: '#000000',
  },
}
SCSS
$custom: #879f1a;
$custom-light: #aebb65;
$custom-dark: #000000;
JSON
{
  "hex": "#879f1a",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 70.827,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66104,
    "c": 0.14962,
    "h": 120.2
  },
  "luminance": 0.30022
}

Semantic roles & 50–950 ramp

primary
#879F1A
secondary
#6550C5
accent
#39EF5A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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