#4FA252#4FA252

#4FA252 is a light, vivid green. Relative luminance 0.281; OKLCH L 64.1% C 0.141 H 144.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4FA252
RGBrgb(79, 162, 82)
HSLhsl(122, 34%, 47%)
HSVhsv(122, 51%, 64%)
CMYKcmyk(51.2%, 0%, 49.4%, 36.5%)
CIE-LABlab(59.99, -42.19, 33.87)
CIE-LCHlch(59.99, 54.10, 141.24°)
OKLaboklab(64.07% -0.1146 0.0821)
OKLCHoklch(64.07% 0.141 144.4)
XYZxyz(17.6668, 28.1108, 12.4760)
Luminance0.2811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA252 #A24F9F
analogous
#75A24F #4FA252 #4FA27C
triadic
#4FA252 #524FA2 #A2524F
tetradic
#4FA252 #4F75A2 #A24F9F #A27C4F
square
#4FA252 #4F75A2 #A24F9F #A27C4F
split-complementary
#4FA252 #7C4FA2 #A24F75
monochromatic
#275028 #3B793D #4FA252 #73BB76 #9CCF9E

Accessibility & contrast

On white

3.17
#4FA252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#4FA252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA252
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA252#FFFFFF#000000##000000
##4FA2521.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5954B
Deuteranopia (green-blind)
#998E57
Tritanopia (blue-blind)
#439E8F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #4fa252;
/* rgb */ color: rgb(79, 162, 82);
/* oklch */ color: oklch(64.1% 0.141 144.4);
Tailwind
colors: {
  custom: {
    50: '#87be84',
    500: '#4fa252',
    950: '#000000',
  },
}
SCSS
$custom: #4fa252;
$custom-light: #87be84;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa252",
  "rgb": {
    "r": 79,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 122.169,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.64072,
    "c": 0.14099,
    "h": 144.4
  },
  "luminance": 0.28112
}

Semantic roles & 50–950 ramp

primary
#4FA252
secondary
#BC91BA
accent
#5DC7CB
background
#F8FBF8
surface
#F0F7EF
border
#CBD0CA
text
#0C120B
muted
#7D817C

Preview Lab

Preview with #4FA252

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

Preview Lab → · Contrast checker → · Palette generator →

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