#4F871E#4F871E

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

Color values

HEX#4F871E
RGBrgb(79, 135, 30)
HSLhsl(92, 64%, 32%)
HSVhsv(92, 78%, 53%)
CMYKcmyk(41.5%, 0%, 77.8%, 47.1%)
CIE-LABlab(50.78, -36.18, 47.18)
CIE-LCHlch(50.78, 59.46, 127.48°)
OKLaboklab(56.36% -0.1016 0.1052)
OKLCHoklch(56.36% 0.146 134)
XYZxyz(12.1225, 19.0833, 4.2727)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F871E #561E87
analogous
#83871E #4F871E #1E8722
triadic
#4F871E #1E4F87 #871E4F
tetradic
#4F871E #1E8387 #561E87 #87221E
square
#4F871E #1E8387 #561E87 #87221E
split-complementary
#4F871E #221E87 #871E83
monochromatic
#142308 #325513 #4F871E #6CB929 #8BD749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F871E#FFFFFF#000000##000000
##4F871E1.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)
#8C7C06
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#4F8173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4f871e;
/* rgb */ color: rgb(79, 135, 30);
/* oklch */ color: oklch(56.4% 0.146 134.0);
Tailwind
colors: {
  custom: {
    50: '#86aa62',
    500: '#4f871e',
    950: '#000000',
  },
}
SCSS
$custom: #4f871e;
$custom-light: #86aa62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f871e",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 92,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56362,
    "c": 0.14625,
    "h": 134
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#4F871E
secondary
#8448B9
accent
#41E799
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #4F871E

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

Preview Lab → · Contrast checker → · Palette generator →

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