#879F21#879F21

#879F21 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.146 H 120.4°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#879F21
RGBrgb(135, 159, 33)
HSLhsl(71, 66%, 38%)
HSVhsv(71, 79%, 62%)
CMYKcmyk(15.1%, 0%, 79.2%, 37.6%)
CIE-LABlab(61.70, -24.87, 57.67)
CIE-LCHlch(61.70, 62.80, 113.33°)
OKLaboklab(66.14% -0.074 0.1264)
OKLCHoklch(66.14% 0.146 120.4)
XYZxyz(22.6648, 30.0570, 6.0461)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F21 #39219F
analogous
#9F7821 #879F21 #489F21
triadic
#879F21 #21879F #9F2187
tetradic
#879F21 #219F78 #39219F #9F2148
square
#879F21 #219F78 #39219F #9F2148
split-complementary
#879F21 #21489F #78219F
monochromatic
#313A0C #5C6C16 #879F21 #B2D22C #C5DD5D

Accessibility & contrast

On white

3.00
#879F21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#879F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879F21
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879F21#FFFFFF#000000##000000
##879F211.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A7952D
Tritanopia (blue-blind)
#8F9688
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f21;
/* rgb */ color: rgb(135, 159, 33);
/* oklch */ color: oklch(66.1% 0.146 120.4);
Tailwind
colors: {
  custom: {
    50: '#aebb68',
    500: '#879f21',
    950: '#000000',
  },
}
SCSS
$custom: #879f21;
$custom-light: #aebb68;
$custom-dark: #000000;
JSON
{
  "hex": "#879f21",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 71.429,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.66138,
    "c": 0.14644,
    "h": 120.4
  },
  "luminance": 0.30057
}

Semantic roles & 50–950 ramp

primary
#879F21
secondary
#6E5AC2
accent
#3FE95F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879F21

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

Preview Lab → · Contrast checker → · Palette generator →

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