#4FA71F#4FA71F

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

Color values

HEX#4FA71F
RGBrgb(79, 167, 31)
HSLhsl(99, 69%, 39%)
HSVhsv(99, 81%, 65%)
CMYKcmyk(52.7%, 0%, 81.4%, 34.5%)
CIE-LABlab(61.13, -49.15, 56.63)
CIE-LCHlch(61.13, 74.99, 130.96°)
OKLaboklab(64.86% -0.1364 0.1252)
OKLCHoklch(64.86% 0.185 137.5)
XYZxyz(17.2899, 29.3973, 6.0592)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA71F #771FA7
analogous
#93A71F #4FA71F #1FA733
triadic
#4FA71F #1F4FA7 #A71F4F
tetradic
#4FA71F #1F93A7 #771FA7 #A7331F
square
#4FA71F #1F93A7 #771FA7 #A7331F
split-complementary
#4FA71F #331FA7 #A71F93
monochromatic
#1E400C #377315 #4FA71F #68D82B #8DE15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4FA71F#FFFFFF#000000##000000
##4FA71F1.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)
#A1912F
Tritanopia (blue-blind)
#49A18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #4fa71f;
/* rgb */ color: rgb(79, 167, 31);
/* oklch */ color: oklch(64.9% 0.185 137.5);
Tailwind
colors: {
  custom: {
    50: '#8ac267',
    500: '#4fa71f',
    950: '#000000',
  },
}
SCSS
$custom: #4fa71f;
$custom-light: #8ac267;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa71f",
  "rgb": {
    "r": 79,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 98.824,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64865,
    "c": 0.18511,
    "h": 137.5
  },
  "luminance": 0.29399
}

Semantic roles & 50–950 ramp

primary
#4FA71F
secondary
#A05CC6
accent
#3CECAE
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #4FA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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