#4FA42F#4FA42F

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

Color values

HEX#4FA42F
RGBrgb(79, 164, 47)
HSLhsl(104, 55%, 41%)
HSVhsv(104, 71%, 64%)
CMYKcmyk(51.8%, 0%, 71.3%, 35.7%)
CIE-LABlab(60.26, -46.94, 50.32)
CIE-LCHlch(60.26, 68.82, 133.01°)
OKLaboklab(64.18% -0.1294 0.1143)
OKLCHoklch(64.18% 0.173 138.6)
XYZxyz(17.0124, 28.4171, 7.2774)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA42F #842FA4
analogous
#8AA42F #4FA42F #2FA44A
triadic
#4FA42F #2F4FA4 #A42F4F
tetradic
#4FA42F #2F8AA4 #842FA4 #A44A2F
square
#4FA42F #2F8AA4 #842FA4 #A44A2F
split-complementary
#4FA42F #4A2FA4 #A42F8A
monochromatic
#214514 #387421 #4FA42F #6ACA46 #91D876

Accessibility & contrast

On white

3.14
#4FA42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4FA42F#FFFFFF#000000##000000
##4FA42F1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9961C
Deuteranopia (green-blind)
#9E8F3A
Tritanopia (blue-blind)
#489E8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4fa42f;
/* rgb */ color: rgb(79, 164, 47);
/* oklch */ color: oklch(64.2% 0.173 138.6);
Tailwind
colors: {
  custom: {
    50: '#89c06f',
    500: '#4fa42f',
    950: '#000000',
  },
}
SCSS
$custom: #4fa42f;
$custom-light: #89c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa42f",
  "rgb": {
    "r": 79,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 103.59,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.17268,
    "h": 138.6
  },
  "luminance": 0.28418
}

Semantic roles & 50–950 ramp

primary
#4FA42F
secondary
#AA6FC0
accent
#49DFB6
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1208
muted
#7D817B

Preview Lab

Preview with #4FA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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