#4FA542#4FA542

#4FA542 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.6% C 0.160 H 141.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4FA542
RGBrgb(79, 165, 66)
HSLhsl(112, 43%, 45%)
HSVhsv(112, 60%, 65%)
CMYKcmyk(52.1%, 0%, 60%, 35.3%)
CIE-LABlab(60.75, -45.50, 42.66)
CIE-LCHlch(60.75, 62.37, 136.84°)
OKLaboklab(64.63% -0.1243 0.1002)
OKLCHoklch(64.63% 0.16 141.1)
XYZxyz(17.6622, 28.9645, 9.8132)
Luminance0.2897 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA542 #9842A5
analogous
#80A542 #4FA542 #42A566
triadic
#4FA542 #424FA5 #A5424F
tetradic
#4FA542 #4280A5 #9842A5 #A56642
square
#4FA542 #4280A5 #9842A5 #A56642
split-complementary
#4FA542 #6642A5 #A54280
monochromatic
#254E1F #3A7931 #4FA542 #70C163 #98D28F

Accessibility & contrast

On white

3.09
#4FA542 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#4FA542 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA542
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA542#FFFFFF#000000##000000
##4FA5421.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99738
Deuteranopia (green-blind)
#9E904A
Tritanopia (blue-blind)
#45A090
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4fa542;
/* rgb */ color: rgb(79, 165, 66);
/* oklch */ color: oklch(64.6% 0.160 141.1);
Tailwind
colors: {
  custom: {
    50: '#88c07a',
    500: '#4fa542',
    950: '#000000',
  },
}
SCSS
$custom: #4fa542;
$custom-light: #88c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa542",
  "rgb": {
    "r": 79,
    "g": 165,
    "b": 66
  },
  "hsl": {
    "h": 112.121,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64635,
    "c": 0.1597,
    "h": 141.1
  },
  "luminance": 0.28966
}

Semantic roles & 50–950 ramp

primary
#4FA542
secondary
#B685BD
accent
#55D3C2
background
#F8FBF7
surface
#F0F7EE
border
#CBD0C9
text
#0C1209
muted
#7D817B

Preview Lab

Preview with #4FA542

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

Preview Lab → · Contrast checker → · Palette generator →

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