#879E20#879E20

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

Color values

HEX#879E20
RGBrgb(135, 158, 32)
HSLhsl(71, 66%, 37%)
HSVhsv(71, 80%, 62%)
CMYKcmyk(14.6%, 0%, 79.7%, 38%)
CIE-LABlab(61.40, -24.42, 57.70)
CIE-LCHlch(61.40, 62.65, 112.94°)
OKLaboklab(65.89% -0.0729 0.1263)
OKLCHoklch(65.89% 0.146 120)
XYZxyz(22.4797, 29.7090, 5.9164)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E20 #37209E
analogous
#9E7620 #879E20 #489E20
triadic
#879E20 #20879E #9E2087
tetradic
#879E20 #209E76 #37209E #9E2048
square
#879E20 #209E76 #37209E #9E2048
split-complementary
#879E20 #20489E #76209E
monochromatic
#30380B #5C6B16 #879E20 #B2D12A #C6DE5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879E20#FFFFFF#000000##000000
##879E201.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)
#A89400
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879e20;
/* rgb */ color: rgb(135, 158, 32);
/* oklch */ color: oklch(65.9% 0.146 120.0);
Tailwind
colors: {
  custom: {
    50: '#aeba67',
    500: '#879e20',
    950: '#000000',
  },
}
SCSS
$custom: #879e20;
$custom-light: #aeba67;
$custom-dark: #000000;
JSON
{
  "hex": "#879e20",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 70.952,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65894,
    "c": 0.14577,
    "h": 120
  },
  "luminance": 0.29709
}

Semantic roles & 50–950 ramp

primary
#879E20
secondary
#6B58C2
accent
#3FE95E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879E20

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

Preview Lab → · Contrast checker → · Palette generator →

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