#879E21#879E21

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

Color values

HEX#879E21
RGBrgb(135, 158, 33)
HSLhsl(71, 65%, 37%)
HSVhsv(71, 79%, 62%)
CMYKcmyk(14.6%, 0%, 79.1%, 38%)
CIE-LABlab(61.41, -24.38, 57.40)
CIE-LCHlch(61.41, 62.36, 113.01°)
OKLaboklab(65.9% -0.0727 0.1258)
OKLCHoklch(65.9% 0.145 120)
XYZxyz(22.4935, 29.7145, 5.9890)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E21 #38219E
analogous
#9E7721 #879E21 #499E21
triadic
#879E21 #21879E #9E2187
tetradic
#879E21 #219E77 #38219E #9E2149
square
#879E21 #219E77 #38219E #9E2149
split-complementary
#879E21 #21499E #77219E
monochromatic
#30390C #5C6B16 #879E21 #B2D12C #C5DD5C

Accessibility & contrast

On white

3.02
#879E21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##879E21#FFFFFF#000000##000000
##879E211.003.026.946.94
#FFFFFF3.021.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: #879e21;
/* rgb */ color: rgb(135, 158, 33);
/* oklch */ color: oklch(65.9% 0.145 120.0);
Tailwind
colors: {
  custom: {
    50: '#adba68',
    500: '#879e21',
    950: '#000000',
  },
}
SCSS
$custom: #879e21;
$custom-light: #adba68;
$custom-dark: #000000;
JSON
{
  "hex": "#879e21",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 71.04,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.659,
    "c": 0.14527,
    "h": 120
  },
  "luminance": 0.29714
}

Semantic roles & 50–950 ramp

primary
#879E21
secondary
#6D59C1
accent
#3FE85E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879E21

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

Preview Lab → · Contrast checker → · Palette generator →

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