#4FA420#4FA420

#4FA420 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.1% C 0.181 H 137.3°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4FA420
RGBrgb(79, 164, 32)
HSLhsl(99, 67%, 38%)
HSVhsv(99, 80%, 64%)
CMYKcmyk(51.8%, 0%, 80.5%, 35.7%)
CIE-LABlab(60.17, -47.95, 55.44)
CIE-LCHlch(60.17, 73.30, 130.86°)
OKLaboklab(64.08% -0.1331 0.1228)
OKLCHoklch(64.08% 0.181 137.3)
XYZxyz(16.7601, 28.3162, 5.9486)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA420 #7520A4
analogous
#91A420 #4FA420 #20A433
triadic
#4FA420 #204FA4 #A4204F
tetradic
#4FA420 #2091A4 #7520A4 #A43320
square
#4FA420 #2091A4 #7520A4 #A43320
split-complementary
#4FA420 #3320A4 #A42091
monochromatic
#1E3E0C #367116 #4FA420 #68D62B #8DE05F

Accessibility & contrast

On white

3.15
#4FA420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#4FA420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA420
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA420#FFFFFF#000000##000000
##4FA4201.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#9F8E30
Tritanopia (blue-blind)
#499E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4fa420;
/* rgb */ color: rgb(79, 164, 32);
/* oklch */ color: oklch(64.1% 0.181 137.3);
Tailwind
colors: {
  custom: {
    50: '#89c067',
    500: '#4fa420',
    950: '#000000',
  },
}
SCSS
$custom: #4fa420;
$custom-light: #89c067;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa420",
  "rgb": {
    "r": 79,
    "g": 164,
    "b": 32
  },
  "hsl": {
    "h": 98.636,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64078,
    "c": 0.18112,
    "h": 137.3
  },
  "luminance": 0.28317
}

Semantic roles & 50–950 ramp

primary
#4FA420
secondary
#9F5CC4
accent
#3EEAAD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4FA420

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

Preview Lab → · Contrast checker → · Palette generator →

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