#4FA042#4FA042

#4FA042 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.3% C 0.153 H 141.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4FA042
RGBrgb(79, 160, 66)
HSLhsl(112, 42%, 44%)
HSVhsv(112, 59%, 63%)
CMYKcmyk(50.6%, 0%, 58.8%, 37.3%)
CIE-LABlab(59.16, -43.46, 40.82)
CIE-LCHlch(59.16, 59.62, 136.80°)
OKLaboklab(63.33% -0.1188 0.0963)
OKLCHoklch(63.33% 0.153 141)
XYZxyz(16.7779, 27.1960, 9.5184)
Luminance0.2720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA042 #9342A0
analogous
#7EA042 #4FA042 #42A064
triadic
#4FA042 #424FA0 #A0424F
tetradic
#4FA042 #427EA0 #9342A0 #A06442
square
#4FA042 #427EA0 #9342A0 #A06442
split-complementary
#4FA042 #6442A0 #A0427E
monochromatic
#24491E #3A7530 #4FA042 #6EBE61 #96D08D

Accessibility & contrast

On white

3.26
#4FA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#4FA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA042
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA042#FFFFFF#000000##000000
##4FA0421.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49338
Deuteranopia (green-blind)
#998C49
Tritanopia (blue-blind)
#469B8B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #4fa042;
/* rgb */ color: rgb(79, 160, 66);
/* oklch */ color: oklch(63.3% 0.153 141.0);
Tailwind
colors: {
  custom: {
    50: '#87bd79',
    500: '#4fa042',
    950: '#000000',
  },
}
SCSS
$custom: #4fa042;
$custom-light: #87bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa042",
  "rgb": {
    "r": 79,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 111.702,
    "s": 41.593,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63325,
    "c": 0.1529,
    "h": 141
  },
  "luminance": 0.27197
}

Semantic roles & 50–950 ramp

primary
#4FA042
secondary
#B383BB
accent
#56D1C0
background
#F8FBF7
surface
#F0F6EE
border
#CBD0C9
text
#0C1209
muted
#7D817B

Preview Lab

Preview with #4FA042

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

Preview Lab → · Contrast checker → · Palette generator →

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