#879D20#879D20

#879D20 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.7% C 0.145 H 119.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#879D20
RGBrgb(135, 157, 32)
HSLhsl(71, 66%, 37%)
HSVhsv(71, 80%, 62%)
CMYKcmyk(14%, 0%, 79.6%, 38.4%)
CIE-LABlab(61.11, -23.92, 57.43)
CIE-LCHlch(61.11, 62.22, 112.62°)
OKLaboklab(65.66% -0.0715 0.1257)
OKLCHoklch(65.66% 0.145 119.6)
XYZxyz(22.3098, 29.3692, 5.8597)
Luminance0.2937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D20 #36209D
analogous
#9D7520 #879D20 #499D20
triadic
#879D20 #20879D #9D2087
tetradic
#879D20 #209D75 #36209D #9D2049
square
#879D20 #209D75 #36209D #9D2049
split-complementary
#879D20 #20499D #75209D
monochromatic
#30370B #5B6A16 #879D20 #B3D02A #C6DD5A

Accessibility & contrast

On white

3.06
#879D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#879D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D20
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D20#FFFFFF#000000##000000
##879D201.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79400
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#8F9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879d20;
/* rgb */ color: rgb(135, 157, 32);
/* oklch */ color: oklch(65.7% 0.145 119.6);
Tailwind
colors: {
  custom: {
    50: '#adb967',
    500: '#879d20',
    950: '#000000',
  },
}
SCSS
$custom: #879d20;
$custom-light: #adb967;
$custom-dark: #000000;
JSON
{
  "hex": "#879d20",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 70.56,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65655,
    "c": 0.14459,
    "h": 119.6
  },
  "luminance": 0.29369
}

Semantic roles & 50–950 ramp

primary
#879D20
secondary
#6A57C1
accent
#3FE95D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879D20

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

Preview Lab → · Contrast checker → · Palette generator →

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