#4FA021#4FA021

#4FA021 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.0% C 0.176 H 137.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4FA021
RGBrgb(79, 160, 33)
HSLhsl(98, 66%, 38%)
HSVhsv(98, 79%, 63%)
CMYKcmyk(50.6%, 0%, 79.4%, 37.3%)
CIE-LABlab(58.89, -46.34, 53.93)
CIE-LCHlch(58.89, 71.11, 130.67°)
OKLaboklab(63.03% -0.1287 0.1198)
OKLCHoklch(63.03% 0.176 137)
XYZxyz(16.0693, 26.9125, 5.7864)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA021 #7221A0
analogous
#8EA021 #4FA021 #21A033
triadic
#4FA021 #214FA0 #A0214F
tetradic
#4FA021 #218EA0 #7221A0 #A03321
square
#4FA021 #218EA0 #7221A0 #A03321
split-complementary
#4FA021 #3321A0 #A0218E
monochromatic
#1D3B0C #366D17 #4FA021 #68D32B #8CDE5E

Accessibility & contrast

On white

3.29
#4FA021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#4FA021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA021
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA021#FFFFFF#000000##000000
##4FA0211.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#4A9A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #4fa021;
/* rgb */ color: rgb(79, 160, 33);
/* oklch */ color: oklch(63.0% 0.176 137.0);
Tailwind
colors: {
  custom: {
    50: '#89bd67',
    500: '#4fa021',
    950: '#000000',
  },
}
SCSS
$custom: #4fa021;
$custom-light: #89bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa021",
  "rgb": {
    "r": 79,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 98.268,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63025,
    "c": 0.17585,
    "h": 137
  },
  "luminance": 0.26914
}

Semantic roles & 50–950 ramp

primary
#4FA021
secondary
#9D5BC2
accent
#3FE9AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4FA021

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

Preview Lab → · Contrast checker → · Palette generator →

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