#879B2D#879B2D

#879B2D is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.3% C 0.135 H 119.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#879B2D
RGBrgb(135, 155, 45)
HSLhsl(71, 55%, 39%)
HSVhsv(71, 71%, 61%)
CMYKcmyk(12.9%, 0%, 71%, 39.2%)
CIE-LABlab(60.59, -22.27, 52.43)
CIE-LCHlch(60.59, 56.97, 113.01°)
OKLaboklab(65.26% -0.0658 0.1174)
OKLCHoklch(65.26% 0.135 119.3)
XYZxyz(22.1871, 28.7832, 6.8690)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B2D #412D9B
analogous
#9B782D #879B2D #509B2D
triadic
#879B2D #2D879B #9B2D87
tetradic
#879B2D #2D9B78 #412D9B #9B2D50
square
#879B2D #2D9B78 #412D9B #9B2D50
split-complementary
#879B2D #2D509B #782D9B
monochromatic
#343C11 #5E6C1F #879B2D #AEC73E #C2D56E

Accessibility & contrast

On white

3.11
#879B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#879B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879B2D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879B2D#FFFFFF#000000##000000
##879B2D1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921B
Deuteranopia (green-blind)
#A39236
Tritanopia (blue-blind)
#8F9385
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #879b2d;
/* rgb */ color: rgb(135, 155, 45);
/* oklch */ color: oklch(65.3% 0.135 119.3);
Tailwind
colors: {
  custom: {
    50: '#adb86d',
    500: '#879b2d',
    950: '#000000',
  },
}
SCSS
$custom: #879b2d;
$custom-light: #adb86d;
$custom-dark: #000000;
JSON
{
  "hex": "#879b2d",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 45
  },
  "hsl": {
    "h": 70.909,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65263,
    "c": 0.13456,
    "h": 119.3
  },
  "luminance": 0.28783
}

Semantic roles & 50–950 ramp

primary
#879B2D
secondary
#7768BC
accent
#49DE65
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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