#4FAC20#4FAC20

#4FAC20 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.2% C 0.191 H 137.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#4FAC20
RGBrgb(79, 172, 32)
HSLhsl(100, 69%, 40%)
HSVhsv(100, 81%, 67%)
CMYKcmyk(54.1%, 0%, 81.4%, 32.5%)
CIE-LABlab(62.74, -50.99, 57.82)
CIE-LCHlch(62.74, 77.09, 131.41°)
OKLaboklab(66.19% -0.1412 0.1278)
OKLCHoklch(66.19% 0.191 137.9)
XYZxyz(18.2370, 31.2702, 6.4409)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAC20 #7D20AC
analogous
#95AC20 #4FAC20 #20AC37
triadic
#4FAC20 #204FAC #AC204F
tetradic
#4FAC20 #2095AC #7D20AC #AC3720
square
#4FAC20 #2095AC #7D20AC #AC3720
split-complementary
#4FAC20 #3720AC #AC2095
monochromatic
#20450D #377816 #4FAC20 #69D931 #8FE264

Accessibility & contrast

On white

2.89
#4FAC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#4FAC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAC20
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAC20#FFFFFF#000000##000000
##4FAC201.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29C00
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#48A693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #4fac20;
/* rgb */ color: rgb(79, 172, 32);
/* oklch */ color: oklch(66.2% 0.191 137.9);
Tailwind
colors: {
  custom: {
    50: '#8ac568',
    500: '#4fac20',
    950: '#000000',
  },
}
SCSS
$custom: #4fac20;
$custom-light: #8ac568;
$custom-dark: #000000;
JSON
{
  "hex": "#4fac20",
  "rgb": {
    "r": 79,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 99.857,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.66189,
    "c": 0.1905,
    "h": 137.9
  },
  "luminance": 0.31272
}

Semantic roles & 50–950 ramp

primary
#4FAC20
secondary
#A560C7
accent
#3CEBB1
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FAC20

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

Preview Lab → · Contrast checker → · Palette generator →

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