#879D31#879D31

#879D31 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.8% C 0.134 H 120.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#879D31
RGBrgb(135, 157, 49)
HSLhsl(72, 52%, 40%)
HSVhsv(72, 69%, 62%)
CMYKcmyk(14%, 0%, 68.8%, 38.4%)
CIE-LABlab(61.21, -23.02, 51.48)
CIE-LCHlch(61.21, 56.39, 114.09°)
OKLaboklab(65.77% -0.0675 0.116)
OKLCHoklch(65.77% 0.134 120.2)
XYZxyz(22.6034, 29.4867, 7.4059)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D31 #47319D
analogous
#9D7D31 #879D31 #519D31
triadic
#879D31 #31879D #9D3187
tetradic
#879D31 #319D7D #47319D #9D3151
square
#879D31 #319D7D #47319D #9D3151
split-complementary
#879D31 #31519D #7D319D
monochromatic
#374014 #5F6E22 #879D31 #ABC546 #C0D475

Accessibility & contrast

On white

3.04
#879D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#879D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #879D31
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##879D31#FFFFFF#000000##000000
##879D311.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79421
Deuteranopia (green-blind)
#A49439
Tritanopia (blue-blind)
#8F9587
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #879d31;
/* rgb */ color: rgb(135, 157, 49);
/* oklch */ color: oklch(65.8% 0.134 120.2);
Tailwind
colors: {
  custom: {
    50: '#adba70',
    500: '#879d31',
    950: '#000000',
  },
}
SCSS
$custom: #879d31;
$custom-light: #adba70;
$custom-dark: #000000;
JSON
{
  "hex": "#879d31",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 72.222,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65771,
    "c": 0.13423,
    "h": 120.2
  },
  "luminance": 0.29487
}

Semantic roles & 50–950 ramp

primary
#879D31
secondary
#7E6EBC
accent
#4CDC69
background
#FAFBF7
surface
#F5F6ED
border
#CFD0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #879D31

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

Preview Lab → · Contrast checker → · Palette generator →

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