#4FA342#4FA342

#4FA342 is a light, vivid green. Relative luminance 0.282; OKLCH L 64.1% C 0.157 H 141.1°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4FA342
RGBrgb(79, 163, 66)
HSLhsl(112, 42%, 45%)
HSVhsv(112, 60%, 64%)
CMYKcmyk(51.5%, 0%, 59.5%, 36.1%)
CIE-LABlab(60.11, -44.69, 41.92)
CIE-LCHlch(60.11, 61.28, 136.83°)
OKLaboklab(64.11% -0.1221 0.0987)
OKLCHoklch(64.11% 0.157 141.1)
XYZxyz(17.3042, 28.2487, 9.6939)
Luminance0.2825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA342 #9642A3
analogous
#7FA342 #4FA342 #42A366
triadic
#4FA342 #424FA3 #A3424F
tetradic
#4FA342 #427FA3 #9642A3 #A36642
square
#4FA342 #427FA3 #9642A3 #A36642
split-complementary
#4FA342 #6642A3 #A3427F
monochromatic
#254C1F #3A7730 #4FA342 #6FC063 #97D18E

Accessibility & contrast

On white

3.16
#4FA342 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#4FA342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA342
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA342#FFFFFF#000000##000000
##4FA3421.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79538
Deuteranopia (green-blind)
#9C8E4A
Tritanopia (blue-blind)
#459E8E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4fa342;
/* rgb */ color: rgb(79, 163, 66);
/* oklch */ color: oklch(64.1% 0.157 141.1);
Tailwind
colors: {
  custom: {
    50: '#87bf7a',
    500: '#4fa342',
    950: '#000000',
  },
}
SCSS
$custom: #4fa342;
$custom-light: #87bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa342",
  "rgb": {
    "r": 79,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 111.959,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64111,
    "c": 0.157,
    "h": 141.1
  },
  "luminance": 0.2825
}

Semantic roles & 50–950 ramp

primary
#4FA342
secondary
#B584BC
accent
#56D2C1
background
#F8FBF7
surface
#F0F7EE
border
#CBD0C9
text
#0C1209
muted
#7D817B

Preview Lab

Preview with #4FA342

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

Preview Lab → · Contrast checker → · Palette generator →

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