#879D1F#879D1F

#879D1F is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.6% C 0.145 H 119.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#879D1F
RGBrgb(135, 157, 31)
HSLhsl(70, 67%, 37%)
HSVhsv(70, 80%, 62%)
CMYKcmyk(14%, 0%, 80.3%, 38.4%)
CIE-LABlab(61.10, -23.97, 57.73)
CIE-LCHlch(61.10, 62.50, 112.55°)
OKLaboklab(65.65% -0.0717 0.1261)
OKLCHoklch(65.65% 0.145 119.6)
XYZxyz(22.2964, 29.3639, 5.7893)
Luminance0.2936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D1F #351F9D
analogous
#9D741F #879D1F #489D1F
triadic
#879D1F #1F879D #9D1F87
tetradic
#879D1F #1F9D74 #351F9D #9D1F48
square
#879D1F #1F9D74 #351F9D #9D1F48
split-complementary
#879D1F #1F489D #741F9D
monochromatic
#2F370B #5B6A15 #879D1F #B3D029 #C7DE58

Accessibility & contrast

On white

3.06
#879D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#879D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D1F
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D1F#FFFFFF#000000##000000
##879D1F1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79400
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#8F9486
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #879d1f;
/* rgb */ color: rgb(135, 157, 31);
/* oklch */ color: oklch(65.6% 0.145 119.6);
Tailwind
colors: {
  custom: {
    50: '#aeb967',
    500: '#879d1f',
    950: '#000000',
  },
}
SCSS
$custom: #879d1f;
$custom-light: #aeb967;
$custom-dark: #000000;
JSON
{
  "hex": "#879d1f",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 70.476,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6565,
    "c": 0.14508,
    "h": 119.6
  },
  "luminance": 0.29364
}

Semantic roles & 50–950 ramp

primary
#879D1F
secondary
#6956C2
accent
#3EEA5C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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