#879D21#879D21

#879D21 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#879D21
RGBrgb(135, 157, 33)
HSLhsl(71, 65%, 37%)
HSVhsv(71, 79%, 62%)
CMYKcmyk(14%, 0%, 79%, 38.4%)
CIE-LABlab(61.11, -23.88, 57.13)
CIE-LCHlch(61.11, 61.92, 112.69°)
OKLaboklab(65.66% -0.0713 0.1252)
OKLCHoklch(65.66% 0.144 119.7)
XYZxyz(22.3236, 29.3748, 5.9324)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D21 #37219D
analogous
#9D7521 #879D21 #499D21
triadic
#879D21 #21879D #9D2187
tetradic
#879D21 #219D75 #37219D #9D2149
square
#879D21 #219D75 #37219D #9D2149
split-complementary
#879D21 #21499D #75219D
monochromatic
#30380C #5C6A16 #879D21 #B2D02C #C6DD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##879D21#FFFFFF#000000##000000
##879D211.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)
#A5942D
Tritanopia (blue-blind)
#8F9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879d21;
/* rgb */ color: rgb(135, 157, 33);
/* oklch */ color: oklch(65.7% 0.144 119.7);
Tailwind
colors: {
  custom: {
    50: '#adb968',
    500: '#879d21',
    950: '#000000',
  },
}
SCSS
$custom: #879d21;
$custom-light: #adb968;
$custom-dark: #000000;
JSON
{
  "hex": "#879d21",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 70.645,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65661,
    "c": 0.14409,
    "h": 119.7
  },
  "luminance": 0.29375
}

Semantic roles & 50–950 ramp

primary
#879D21
secondary
#6B59C1
accent
#40E85D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879D21

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

Preview Lab → · Contrast checker → · Palette generator →

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