#879E1A#879E1A

#879E1A is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.9% C 0.148 H 119.9°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#879E1A
RGBrgb(135, 158, 26)
HSLhsl(70, 72%, 36%)
HSVhsv(70, 84%, 62%)
CMYKcmyk(14.6%, 0%, 83.5%, 38%)
CIE-LABlab(61.38, -24.65, 59.36)
CIE-LCHlch(61.38, 64.28, 112.55°)
OKLaboklab(65.86% -0.0739 0.1288)
OKLCHoklch(65.86% 0.148 119.9)
XYZxyz(22.4055, 29.6793, 5.5254)
Luminance0.2968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E1A #311A9E
analogous
#9E731A #879E1A #459E1A
triadic
#879E1A #1A879E #9E1A87
tetradic
#879E1A #1A9E73 #311A9E #9E1A45
square
#879E1A #1A9E73 #311A9E #9E1A45
split-complementary
#879E1A #1A459E #731A9E
monochromatic
#2D3509 #5A6911 #879E1A #B4D323 #C9E250

Accessibility & contrast

On white

3.03
#879E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#879E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879E1A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879E1A#FFFFFF#000000##000000
##879E1A1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A69429
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879e1a;
/* rgb */ color: rgb(135, 158, 26);
/* oklch */ color: oklch(65.9% 0.148 119.9);
Tailwind
colors: {
  custom: {
    50: '#aeba65',
    500: '#879e1a',
    950: '#000000',
  },
}
SCSS
$custom: #879e1a;
$custom-light: #aeba65;
$custom-dark: #000000;
JSON
{
  "hex": "#879e1a",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 70.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65865,
    "c": 0.14847,
    "h": 119.9
  },
  "luminance": 0.29679
}

Semantic roles & 50–950 ramp

primary
#879E1A
secondary
#644FC5
accent
#39EE59
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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