#4FA821#4FA821

#4FA821 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.1% C 0.185 H 137.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4FA821
RGBrgb(79, 168, 33)
HSLhsl(100, 67%, 39%)
HSVhsv(100, 80%, 66%)
CMYKcmyk(53%, 0%, 80.4%, 34.1%)
CIE-LABlab(61.46, -49.43, 56.35)
CIE-LCHlch(61.46, 74.95, 131.26°)
OKLaboklab(65.14% -0.137 0.1249)
OKLCHoklch(65.14% 0.185 137.7)
XYZxyz(17.5010, 29.7760, 6.2637)
Luminance0.2978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA821 #7A21A8
analogous
#92A821 #4FA821 #21A837
triadic
#4FA821 #214FA8 #A8214F
tetradic
#4FA821 #2192A8 #7A21A8 #A83721
square
#4FA821 #2192A8 #7A21A8 #A83721
split-complementary
#4FA821 #3721A8 #A82192
monochromatic
#1F420D #377517 #4FA821 #69D630 #8EE063

Accessibility & contrast

On white

3.02
#4FA821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#4FA821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA821
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA821#FFFFFF#000000##000000
##4FA8211.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A29231
Tritanopia (blue-blind)
#48A28F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #4fa821;
/* rgb */ color: rgb(79, 168, 33);
/* oklch */ color: oklch(65.1% 0.185 137.7);
Tailwind
colors: {
  custom: {
    50: '#8ac368',
    500: '#4fa821',
    950: '#000000',
  },
}
SCSS
$custom: #4fa821;
$custom-light: #8ac368;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa821",
  "rgb": {
    "r": 79,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 99.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6514,
    "c": 0.18537,
    "h": 137.7
  },
  "luminance": 0.29777
}

Semantic roles & 50–950 ramp

primary
#4FA821
secondary
#A35FC5
accent
#3EEAAF
background
#F8FCF6
surface
#F0F8EB
border
#CBD1C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #4FA821

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

Preview Lab → · Contrast checker → · Palette generator →

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