#4FB42A#4FB42A

#4FB42A is a light, vivid green. Relative luminance 0.345; OKLCH L 68.3% C 0.195 H 139.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4FB42A
RGBrgb(79, 180, 42)
HSLhsl(104, 62%, 44%)
HSVhsv(104, 77%, 71%)
CMYKcmyk(56.1%, 0%, 76.7%, 29.4%)
CIE-LABlab(65.33, -53.37, 57.20)
CIE-LCHlch(65.33, 78.23, 133.02°)
OKLaboklab(68.35% -0.1471 0.128)
OKLCHoklch(68.35% 0.195 139)
XYZxyz(19.9628, 34.4703, 7.7915)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FB42A #8F2AB4
analogous
#94B42A #4FB42A #2AB44A
triadic
#4FB42A #2A4FB4 #B42A4F
tetradic
#4FB42A #2A94B4 #8F2AB4 #B44A2A
square
#4FB42A #2A94B4 #8F2AB4 #B44A2A
split-complementary
#4FB42A #4A2AB4 #B42A94
monochromatic
#235113 #39821E #4FB42A #6DD447 #94E079

Accessibility & contrast

On white

2.66
#4FB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#4FB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FB42A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FB42A#FFFFFF#000000##000000
##4FB42A1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A407
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#45AE9A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #4fb42a;
/* rgb */ color: rgb(79, 180, 42);
/* oklch */ color: oklch(68.3% 0.195 139.0);
Tailwind
colors: {
  custom: {
    50: '#8bcb6e',
    500: '#4fb42a',
    950: '#000000',
  },
}
SCSS
$custom: #4fb42a;
$custom-light: #8bcb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#4fb42a",
  "rgb": {
    "r": 79,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 103.913,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6835,
    "c": 0.19495,
    "h": 139
  },
  "luminance": 0.34472
}

Semantic roles & 50–950 ramp

primary
#4FB42A
secondary
#B172C8
accent
#43E5BA
background
#F9FCF6
surface
#F1F9EC
border
#CBD2C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #4FB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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