#879C24#879C24

#879C24 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 65.4% C 0.141 H 119.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#879C24
RGBrgb(135, 156, 36)
HSLhsl(71, 63%, 38%)
HSVhsv(71, 77%, 61%)
CMYKcmyk(13.5%, 0%, 76.9%, 38.8%)
CIE-LABlab(60.83, -23.25, 55.91)
CIE-LCHlch(60.83, 60.55, 112.58°)
OKLaboklab(65.44% -0.0693 0.1232)
OKLCHoklch(65.44% 0.141 119.4)
XYZxyz(22.1990, 29.0553, 6.1075)
Luminance0.2905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C24 #39249C
analogous
#9C7524 #879C24 #4B9C24
triadic
#879C24 #24879C #9C2487
tetradic
#879C24 #249C75 #39249C #9C244B
square
#879C24 #249C75 #39249C #9C244B
split-complementary
#879C24 #244B9C #75249C
monochromatic
#31390D #5C6A19 #879C24 #B2CE2F #C5DA60

Accessibility & contrast

On white

3.08
#879C24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#879C24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879C24
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879C24#FFFFFF#000000##000000
##879C241.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69305
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#8F9385
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879c24;
/* rgb */ color: rgb(135, 156, 36);
/* oklch */ color: oklch(65.4% 0.141 119.4);
Tailwind
colors: {
  custom: {
    50: '#adb969',
    500: '#879c24',
    950: '#000000',
  },
}
SCSS
$custom: #879c24;
$custom-light: #adb969;
$custom-dark: #000000;
JSON
{
  "hex": "#879c24",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 36
  },
  "hsl": {
    "h": 70.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6544,
    "c": 0.14132,
    "h": 119.4
  },
  "luminance": 0.29055
}

Semantic roles & 50–950 ramp

primary
#879C24
secondary
#6E5CBF
accent
#42E65F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #879C24

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

Preview Lab → · Contrast checker → · Palette generator →

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