#4FA520#4FA520

#4FA520 is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 64.3% C 0.182 H 137.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#4FA520
RGBrgb(79, 165, 32)
HSLhsl(99, 68%, 39%)
HSVhsv(99, 81%, 65%)
CMYKcmyk(52.1%, 0%, 80.6%, 35.3%)
CIE-LABlab(60.49, -48.34, 55.74)
CIE-LCHlch(60.49, 73.78, 130.93°)
OKLaboklab(64.34% -0.1341 0.1235)
OKLCHoklch(64.34% 0.182 137.4)
XYZxyz(16.9397, 28.6756, 6.0085)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA520 #7620A5
analogous
#91A520 #4FA520 #20A533
triadic
#4FA520 #204FA5 #A5204F
tetradic
#4FA520 #2091A5 #7620A5 #A53320
square
#4FA520 #2091A5 #7620A5 #A53320
split-complementary
#4FA520 #3320A5 #A52091
monochromatic
#1E3E0C #367216 #4FA520 #68D62C #8DE05F

Accessibility & contrast

On white

3.12
#4FA520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#4FA520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA520
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA520#FFFFFF#000000##000000
##4FA5201.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A08F30
Tritanopia (blue-blind)
#499F8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #4fa520;
/* rgb */ color: rgb(79, 165, 32);
/* oklch */ color: oklch(64.3% 0.182 137.4);
Tailwind
colors: {
  custom: {
    50: '#89c067',
    500: '#4fa520',
    950: '#000000',
  },
}
SCSS
$custom: #4fa520;
$custom-light: #89c067;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa520",
  "rgb": {
    "r": 79,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 98.797,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.1823,
    "h": 137.4
  },
  "luminance": 0.28677
}

Semantic roles & 50–950 ramp

primary
#4FA520
secondary
#A05CC5
accent
#3DEAAD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #4FA520

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

Preview Lab → · Contrast checker → · Palette generator →

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