#879C1F#879C1F

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

Color values

HEX#879C1F
RGBrgb(135, 156, 31)
HSLhsl(70, 67%, 37%)
HSVhsv(70, 80%, 61%)
CMYKcmyk(13.5%, 0%, 80.1%, 38.8%)
CIE-LABlab(60.81, -23.47, 57.46)
CIE-LCHlch(60.81, 62.07, 112.22°)
OKLaboklab(65.41% -0.0703 0.1256)
OKLCHoklch(65.41% 0.144 119.2)
XYZxyz(22.1279, 29.0269, 5.7331)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879C1F #341F9C
analogous
#9C731F #879C1F #499C1F
triadic
#879C1F #1F879C #9C1F87
tetradic
#879C1F #1F9C73 #341F9C #9C1F49
square
#879C1F #1F9C73 #341F9C #9C1F49
split-complementary
#879C1F #1F499C #731F9C
monochromatic
#2F360B #5B6915 #879C1F #B3CF29 #C7DE58

Accessibility & contrast

On white

3.09
#879C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##879C1F#FFFFFF#000000##000000
##879C1F1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879c1f;
/* rgb */ color: rgb(135, 156, 31);
/* oklch */ color: oklch(65.4% 0.144 119.2);
Tailwind
colors: {
  custom: {
    50: '#aeb967',
    500: '#879c1f',
    950: '#000000',
  },
}
SCSS
$custom: #879c1f;
$custom-light: #aeb967;
$custom-dark: #000000;
JSON
{
  "hex": "#879c1f",
  "rgb": {
    "r": 135,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 70.08,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65412,
    "c": 0.14392,
    "h": 119.2
  },
  "luminance": 0.29027
}

Semantic roles & 50–950 ramp

primary
#879C1F
secondary
#6755C1
accent
#3EEA5B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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