#879E2B#879E2B

#879E2B is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 66.0% C 0.140 H 120.3°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#879E2B
RGBrgb(135, 158, 43)
HSLhsl(72, 57%, 39%)
HSVhsv(72, 73%, 62%)
CMYKcmyk(14.6%, 0%, 72.8%, 38%)
CIE-LABlab(61.46, -23.88, 54.05)
CIE-LCHlch(61.46, 59.09, 113.84°)
OKLaboklab(65.96% -0.0704 0.1205)
OKLCHoklch(65.96% 0.14 120.3)
XYZxyz(22.6550, 29.7791, 6.8395)
Luminance0.2978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879E2B #422B9E
analogous
#9E7C2B #879E2B #4E9E2B
triadic
#879E2B #2B879E #9E2B87
tetradic
#879E2B #2B9E7C #422B9E #9E2B4E
square
#879E2B #2B9E7C #422B9E #9E2B4E
split-complementary
#879E2B #2B4E9E #7C2B9E
monochromatic
#353E11 #5E6E1E #879E2B #AECA3C #C2D76C

Accessibility & contrast

On white

3.02
#879E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#879E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879E2B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879E2B#FFFFFF#000000##000000
##879E2B1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89516
Deuteranopia (green-blind)
#A59535
Tritanopia (blue-blind)
#8F9688
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879e2b;
/* rgb */ color: rgb(135, 158, 43);
/* oklch */ color: oklch(66.0% 0.140 120.3);
Tailwind
colors: {
  custom: {
    50: '#adba6c',
    500: '#879e2b',
    950: '#000000',
  },
}
SCSS
$custom: #879e2b;
$custom-light: #adba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#879e2b",
  "rgb": {
    "r": 135,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 72,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65963,
    "c": 0.13954,
    "h": 120.3
  },
  "luminance": 0.29779
}

Semantic roles & 50–950 ramp

primary
#879E2B
secondary
#7867BE
accent
#47E066
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #879E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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