#4FA42A#4FA42A

#4FA42A is a light, vivid green. Relative luminance 0.284; OKLCH L 64.1% C 0.176 H 138.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4FA42A
RGBrgb(79, 164, 42)
HSLhsl(102, 59%, 40%)
HSVhsv(102, 74%, 64%)
CMYKcmyk(51.8%, 0%, 74.4%, 35.7%)
CIE-LABlab(60.23, -47.32, 52.17)
CIE-LCHlch(60.23, 70.44, 132.21°)
OKLaboklab(64.14% -0.1308 0.1175)
OKLCHoklch(64.14% 0.176 138.1)
XYZxyz(16.9172, 28.3791, 6.7763)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA42A #7F2AA4
analogous
#8CA42A #4FA42A #2AA442
triadic
#4FA42A #2A4FA4 #A42A4F
tetradic
#4FA42A #2A8CA4 #7F2AA4 #A4422A
square
#4FA42A #2A8CA4 #7F2AA4 #A4422A
split-complementary
#4FA42A #422AA4 #A42A8C
monochromatic
#204311 #38731E #4FA42A #69CD3E #8FDA6E

Accessibility & contrast

On white

3.15
#4FA42A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#4FA42A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA42A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA42A#FFFFFF#000000##000000
##4FA42A1.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99612
Deuteranopia (green-blind)
#9E8F36
Tritanopia (blue-blind)
#489E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4fa42a;
/* rgb */ color: rgb(79, 164, 42);
/* oklch */ color: oklch(64.1% 0.176 138.1);
Tailwind
colors: {
  custom: {
    50: '#89c06c',
    500: '#4fa42a',
    950: '#000000',
  },
}
SCSS
$custom: #4fa42a;
$custom-light: #89c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa42a",
  "rgb": {
    "r": 79,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 101.803,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64142,
    "c": 0.1758,
    "h": 138.1
  },
  "luminance": 0.2838
}

Semantic roles & 50–950 ramp

primary
#4FA42A
secondary
#A669C1
accent
#45E2B3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4FA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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