#879B2B#879B2B

#879B2B is a light, vivid yellow-green. Relative luminance 0.288; OKLCH L 65.2% C 0.136 H 119.2°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#879B2B
RGBrgb(135, 155, 43)
HSLhsl(71, 57%, 39%)
HSVhsv(71, 72%, 61%)
CMYKcmyk(12.9%, 0%, 72.3%, 39.2%)
CIE-LABlab(60.58, -22.38, 53.18)
CIE-LCHlch(60.58, 57.70, 112.82°)
OKLaboklab(65.25% -0.0663 0.1186)
OKLCHoklch(65.25% 0.136 119.2)
XYZxyz(22.1495, 28.7681, 6.6710)
Luminance0.2877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879B2B #3F2B9B
analogous
#9B772B #879B2B #4F9B2B
triadic
#879B2B #2B879B #9B2B87
tetradic
#879B2B #2B9B77 #3F2B9B #9B2B4F
square
#879B2B #2B9B77 #3F2B9B #9B2B4F
split-complementary
#879B2B #2B4F9B #772B9B
monochromatic
#343B10 #5D6B1E #879B2B #AFC93B #C3D66B

Accessibility & contrast

On white

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

On black

6.75
#879B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879B2B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879B2B#FFFFFF#000000##000000
##879B2B1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879b2b;
/* rgb */ color: rgb(135, 155, 43);
/* oklch */ color: oklch(65.2% 0.136 119.2);
Tailwind
colors: {
  custom: {
    50: '#adb86c',
    500: '#879b2b',
    950: '#000000',
  },
}
SCSS
$custom: #879b2b;
$custom-light: #adb86c;
$custom-dark: #000000;
JSON
{
  "hex": "#879b2b",
  "rgb": {
    "r": 135,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 70.714,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65248,
    "c": 0.1359,
    "h": 119.2
  },
  "luminance": 0.28768
}

Semantic roles & 50–950 ramp

primary
#879B2B
secondary
#7565BC
accent
#48E063
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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