#879D22#879D22

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

Color values

HEX#879D22
RGBrgb(135, 157, 34)
HSLhsl(71, 64%, 37%)
HSVhsv(71, 78%, 62%)
CMYKcmyk(14%, 0%, 78.3%, 38.4%)
CIE-LABlab(61.12, -23.84, 56.82)
CIE-LCHlch(61.12, 61.62, 112.76°)
OKLaboklab(65.67% -0.0711 0.1247)
OKLCHoklch(65.67% 0.144 119.7)
XYZxyz(22.3378, 29.3804, 6.0073)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D22 #38229D
analogous
#9D7622 #879D22 #499D22
triadic
#879D22 #22879D #9D2287
tetradic
#879D22 #229D76 #38229D #9D2249
square
#879D22 #229D76 #38229D #9D2249
split-complementary
#879D22 #22499D #76229D
monochromatic
#30380C #5C6B17 #879D22 #B2CF2D #C5DC5D

Accessibility & contrast

On white

3.05
#879D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#879D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D22
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D22#FFFFFF#000000##000000
##879D221.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879d22;
/* rgb */ color: rgb(135, 157, 34);
/* oklch */ color: oklch(65.7% 0.144 119.7);
Tailwind
colors: {
  custom: {
    50: '#adb968',
    500: '#879d22',
    950: '#000000',
  },
}
SCSS
$custom: #879d22;
$custom-light: #adb968;
$custom-dark: #000000;
JSON
{
  "hex": "#879d22",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 70.732,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65666,
    "c": 0.14357,
    "h": 119.7
  },
  "luminance": 0.2938
}

Semantic roles & 50–950 ramp

primary
#879D22
secondary
#6D5AC1
accent
#40E75E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879D22

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

Preview Lab → · Contrast checker → · Palette generator →

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