#4F871D#4F871D

#4F871D is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.4% C 0.147 H 133.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4F871D
RGBrgb(79, 135, 29)
HSLhsl(92, 65%, 32%)
HSVhsv(92, 79%, 53%)
CMYKcmyk(41.5%, 0%, 78.5%, 47.1%)
CIE-LABlab(50.78, -36.24, 47.52)
CIE-LCHlch(50.78, 59.77, 127.33°)
OKLaboklab(56.36% -0.1018 0.1058)
OKLCHoklch(56.36% 0.147 133.9)
XYZxyz(12.1100, 19.0783, 4.2066)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F871D #551D87
analogous
#84871D #4F871D #1D8720
triadic
#4F871D #1D4F87 #871D4F
tetradic
#4F871D #1D8487 #551D87 #87201D
square
#4F871D #1D8487 #551D87 #87201D
split-complementary
#4F871D #201D87 #871D84
monochromatic
#142207 #325512 #4F871D #6CB928 #8BD747

Accessibility & contrast

On white

4.36
#4F871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4F871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F871D
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F871D#FFFFFF#000000##000000
##4F871D1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#4F8173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f871d;
/* rgb */ color: rgb(79, 135, 29);
/* oklch */ color: oklch(56.4% 0.147 133.9);
Tailwind
colors: {
  custom: {
    50: '#86aa62',
    500: '#4f871d',
    950: '#000000',
  },
}
SCSS
$custom: #4f871d;
$custom-light: #86aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f871d",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 91.698,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.14681,
    "h": 133.9
  },
  "luminance": 0.19079
}

Semantic roles & 50–950 ramp

primary
#4F871D
secondary
#8346B9
accent
#40E899
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F871D

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

Preview Lab → · Contrast checker → · Palette generator →

#4F871D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva