#879D30#879D30

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

Color values

HEX#879D30
RGBrgb(135, 157, 48)
HSLhsl(72, 53%, 40%)
HSVhsv(72, 69%, 62%)
CMYKcmyk(14%, 0%, 69.4%, 38.4%)
CIE-LABlab(61.20, -23.08, 51.87)
CIE-LCHlch(61.20, 56.78, 113.99°)
OKLaboklab(65.76% -0.0678 0.1167)
OKLCHoklch(65.76% 0.135 120.2)
XYZxyz(22.5825, 29.4783, 7.2959)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#879D30 #46309D
analogous
#9D7C30 #879D30 #509D30
triadic
#879D30 #30879D #9D3087
tetradic
#879D30 #309D7C #46309D #9D3050
square
#879D30 #309D7C #46309D #9D3050
split-complementary
#879D30 #30509D #7C309D
monochromatic
#363F13 #5F6E22 #879D30 #ACC644 #C1D473

Accessibility & contrast

On white

3.05
#879D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##879D30#FFFFFF#000000##000000
##879D301.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #879d30;
/* rgb */ color: rgb(135, 157, 48);
/* oklch */ color: oklch(65.8% 0.135 120.2);
Tailwind
colors: {
  custom: {
    50: '#adba6f',
    500: '#879d30',
    950: '#000000',
  },
}
SCSS
$custom: #879d30;
$custom-light: #adba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#879d30",
  "rgb": {
    "r": 135,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 72.11,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65763,
    "c": 0.13495,
    "h": 120.2
  },
  "luminance": 0.29478
}

Semantic roles & 50–950 ramp

primary
#879D30
secondary
#7D6DBC
accent
#4BDD69
background
#FAFBF6
surface
#F5F6EC
border
#CFD0C7
text
#111108
muted
#80807B

Preview Lab

Preview with #879D30

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

Preview Lab → · Contrast checker → · Palette generator →

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