#879F1B#879F1B

#879F1B is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 66.1% C 0.149 H 120.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#879F1B
RGBrgb(135, 159, 27)
HSLhsl(71, 71%, 36%)
HSVhsv(71, 83%, 62%)
CMYKcmyk(15.1%, 0%, 83%, 37.6%)
CIE-LABlab(61.68, -25.11, 59.36)
CIE-LCHlch(61.68, 64.45, 112.93°)
OKLaboklab(66.11% -0.0751 0.1289)
OKLCHoklch(66.11% 0.149 120.2)
XYZxyz(22.5881, 30.0264, 5.6424)
Luminance0.3003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879F1B #331B9F
analogous
#9F751B #879F1B #459F1B
triadic
#879F1B #1B879F #9F1B87
tetradic
#879F1B #1B9F75 #331B9F #9F1B45
square
#879F1B #1B9F75 #331B9F #9F1B45
split-complementary
#879F1B #1B459F #751B9F
monochromatic
#2E3609 #5B6B12 #879F1B #B3D324 #C8E253

Accessibility & contrast

On white

3.00
#879F1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#879F1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #879F1B
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879F1B#FFFFFF#000000##000000
##879F1B1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A79529
Tritanopia (blue-blind)
#8F9687
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #879f1b;
/* rgb */ color: rgb(135, 159, 27);
/* oklch */ color: oklch(66.1% 0.149 120.2);
Tailwind
colors: {
  custom: {
    50: '#aebb65',
    500: '#879f1b',
    950: '#000000',
  },
}
SCSS
$custom: #879f1b;
$custom-light: #aebb65;
$custom-dark: #000000;
JSON
{
  "hex": "#879f1b",
  "rgb": {
    "r": 135,
    "g": 159,
    "b": 27
  },
  "hsl": {
    "h": 70.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66109,
    "c": 0.1492,
    "h": 120.2
  },
  "luminance": 0.30026
}

Semantic roles & 50–950 ramp

primary
#879F1B
secondary
#6651C5
accent
#3AEE5B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #879F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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