#4FAA21#4FAA21

#4FAA21 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 65.7% C 0.188 H 137.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#4FAA21
RGBrgb(79, 170, 33)
HSLhsl(100, 67%, 40%)
HSVhsv(100, 81%, 67%)
CMYKcmyk(53.5%, 0%, 80.6%, 33.3%)
CIE-LABlab(62.10, -50.18, 56.94)
CIE-LCHlch(62.10, 75.90, 131.39°)
OKLaboklab(65.67% -0.139 0.1261)
OKLCHoklch(65.67% 0.188 137.8)
XYZxyz(17.8731, 30.5201, 6.3877)
Luminance0.3052 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAA21 #7C21AA
analogous
#94AA21 #4FAA21 #21AA37
triadic
#4FAA21 #214FAA #AA214F
tetradic
#4FAA21 #2194AA #7C21AA #AA3721
square
#4FAA21 #2194AA #7C21AA #AA3721
split-complementary
#4FAA21 #3721AA #AA2194
monochromatic
#1F430D #377717 #4FAA21 #69D731 #8EE164

Accessibility & contrast

On white

2.96
#4FAA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#4FAA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAA21
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAA21#FFFFFF#000000##000000
##4FAA211.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A49331
Tritanopia (blue-blind)
#48A491
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #4faa21;
/* rgb */ color: rgb(79, 170, 33);
/* oklch */ color: oklch(65.7% 0.188 137.8);
Tailwind
colors: {
  custom: {
    50: '#8ac469',
    500: '#4faa21',
    950: '#000000',
  },
}
SCSS
$custom: #4faa21;
$custom-light: #8ac469;
$custom-dark: #000000;
JSON
{
  "hex": "#4faa21",
  "rgb": {
    "r": 79,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 99.854,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65667,
    "c": 0.18772,
    "h": 137.8
  },
  "luminance": 0.30522
}

Semantic roles & 50–950 ramp

primary
#4FAA21
secondary
#A461C6
accent
#3DEAB0
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FAA21

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

Preview Lab → · Contrast checker → · Palette generator →

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