#4FA42C#4FA42C

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

Color values

HEX#4FA42C
RGBrgb(79, 164, 44)
HSLhsl(103, 58%, 41%)
HSVhsv(103, 73%, 64%)
CMYKcmyk(51.8%, 0%, 73.2%, 35.7%)
CIE-LABlab(60.24, -47.17, 51.45)
CIE-LCHlch(60.24, 69.80, 132.52°)
OKLaboklab(64.16% -0.1303 0.1162)
OKLCHoklch(64.16% 0.175 138.3)
XYZxyz(16.9539, 28.3938, 6.9695)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA42C #812CA4
analogous
#8BA42C #4FA42C #2CA445
triadic
#4FA42C #2C4FA4 #A42C4F
tetradic
#4FA42C #2C8BA4 #812CA4 #A4452C
square
#4FA42C #2C8BA4 #812CA4 #A4452C
split-complementary
#4FA42C #452CA4 #A42C8B
monochromatic
#214312 #38741F #4FA42C #6ACC41 #90D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4FA42C#FFFFFF#000000##000000
##4FA42C1.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)
#A99617
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#489E8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4fa42c;
/* rgb */ color: rgb(79, 164, 44);
/* oklch */ color: oklch(64.2% 0.175 138.3);
Tailwind
colors: {
  custom: {
    50: '#89c06d',
    500: '#4fa42c',
    950: '#000000',
  },
}
SCSS
$custom: #4fa42c;
$custom-light: #89c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa42c",
  "rgb": {
    "r": 79,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 102.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64157,
    "c": 0.17458,
    "h": 138.3
  },
  "luminance": 0.28395
}

Semantic roles & 50–950 ramp

primary
#4FA42C
secondary
#A86BC0
accent
#47E1B4
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4FA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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