#4FA628#4FA628

#4FA628 is a light, vivid green. Relative luminance 0.291; OKLCH L 64.7% C 0.179 H 138.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4FA628
RGBrgb(79, 166, 40)
HSLhsl(101, 61%, 40%)
HSVhsv(101, 76%, 65%)
CMYKcmyk(52.4%, 0%, 75.9%, 34.9%)
CIE-LABlab(60.86, -48.23, 53.50)
CIE-LCHlch(60.86, 72.04, 132.03°)
OKLaboklab(64.66% -0.1334 0.12)
OKLCHoklch(64.66% 0.179 138)
XYZxyz(17.2431, 29.0866, 6.7127)
Luminance0.2909 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FA628 #7F28A6
analogous
#8EA628 #4FA628 #28A640
triadic
#4FA628 #284FA6 #A6284F
tetradic
#4FA628 #288EA6 #7F28A6 #A64028
square
#4FA628 #288EA6 #7F28A6 #A64028
split-complementary
#4FA628 #4028A6 #A6288E
monochromatic
#204310 #38751C #4FA628 #69D03B #8FDC6D

Accessibility & contrast

On white

3.08
#4FA628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#4FA628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4FA628
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FA628#FFFFFF#000000##000000
##4FA6281.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970C
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#48A08E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #4fa628;
/* rgb */ color: rgb(79, 166, 40);
/* oklch */ color: oklch(64.7% 0.179 138.0);
Tailwind
colors: {
  custom: {
    50: '#89c16b',
    500: '#4fa628',
    950: '#000000',
  },
}
SCSS
$custom: #4fa628;
$custom-light: #89c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#4fa628",
  "rgb": {
    "r": 79,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 101.429,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64656,
    "c": 0.17939,
    "h": 138
  },
  "luminance": 0.29088
}

Semantic roles & 50–950 ramp

primary
#4FA628
secondary
#A667C2
accent
#44E4B3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #4FA628

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

Preview Lab → · Contrast checker → · Palette generator →

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