#4FA242#4FA242

#4FA242 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.8% C 0.156 H 141.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4FA242
RGBrgb(79, 162, 66)
HSLhsl(112, 42%, 45%)
HSVhsv(112, 59%, 64%)
CMYKcmyk(51.2%, 0%, 59.3%, 36.5%)
CIE-LABlab(59.79, -44.28, 41.56)
CIE-LCHlch(59.79, 60.73, 136.82°)
OKLaboklab(63.85% -0.121 0.0979)
OKLCHoklch(63.85% 0.156 141)
XYZxyz(17.1274, 27.8950, 9.6349)
Luminance0.2790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA242 #9542A2
analogous
#7FA242 #4FA242 #42A265
triadic
#4FA242 #424FA2 #A2424F
tetradic
#4FA242 #427FA2 #9542A2 #A26542
square
#4FA242 #427FA2 #9542A2 #A26542
split-complementary
#4FA242 #6542A2 #A2427F
monochromatic
#254B1F #3A7730 #4FA242 #6FBF62 #97D18E

Accessibility & contrast

On white

3.19
#4FA242 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#4FA242 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA242
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA242#FFFFFF#000000##000000
##4FA2421.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69538
Deuteranopia (green-blind)
#9B8D49
Tritanopia (blue-blind)
#469D8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #4fa242;
/* rgb */ color: rgb(79, 162, 66);
/* oklch */ color: oklch(63.8% 0.156 141.0);
Tailwind
colors: {
  custom: {
    50: '#87be7a',
    500: '#4fa242',
    950: '#000000',
  },
}
SCSS
$custom: #4fa242;
$custom-light: #87be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa242",
  "rgb": {
    "r": 79,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 111.875,
    "s": 42.105,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63849,
    "c": 0.15564,
    "h": 141
  },
  "luminance": 0.27896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4FA242

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

Preview Lab → · Contrast checker → · Palette generator →

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