#4FA71C#4FA71C

#4FA71C is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 64.8% C 0.186 H 137.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4FA71C
RGBrgb(79, 167, 28)
HSLhsl(98, 71%, 38%)
HSVhsv(98, 83%, 65%)
CMYKcmyk(52.7%, 0%, 83.2%, 34.5%)
CIE-LABlab(61.12, -49.30, 57.45)
CIE-LCHlch(61.12, 75.70, 130.64°)
OKLaboklab(64.85% -0.1369 0.1265)
OKLCHoklch(64.85% 0.186 137.3)
XYZxyz(17.2522, 29.3822, 5.8606)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA71C #741CA7
analogous
#94A71C #4FA71C #1CA72F
triadic
#4FA71C #1C4FA7 #A71C4F
tetradic
#4FA71C #1C94A7 #741CA7 #A72F1C
square
#4FA71C #1C94A7 #741CA7 #A72F1C
split-complementary
#4FA71C #2F1CA7 #A71C94
monochromatic
#1D3E0A #367313 #4FA71C #68DB26 #8CE35A

Accessibility & contrast

On white

3.05
#4FA71C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#4FA71C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA71C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA71C#FFFFFF#000000##000000
##4FA71C1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A1912E
Tritanopia (blue-blind)
#49A18E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4fa71c;
/* rgb */ color: rgb(79, 167, 28);
/* oklch */ color: oklch(64.8% 0.186 137.3);
Tailwind
colors: {
  custom: {
    50: '#8ac266',
    500: '#4fa71c',
    950: '#000000',
  },
}
SCSS
$custom: #4fa71c;
$custom-light: #8ac266;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa71c",
  "rgb": {
    "r": 79,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 97.986,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6485,
    "c": 0.1864,
    "h": 137.3
  },
  "luminance": 0.29384
}

Semantic roles & 50–950 ramp

primary
#4FA71C
secondary
#9E58C7
accent
#3AEEAC
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #4FA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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