#4FAC28#4FAC28

#4FAC28 is a light, vivid green. Relative luminance 0.313; OKLCH L 66.2% C 0.187 H 138.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#4FAC28
RGBrgb(79, 172, 40)
HSLhsl(102, 62%, 42%)
HSVhsv(102, 77%, 67%)
CMYKcmyk(54.1%, 0%, 76.7%, 32.5%)
CIE-LABlab(62.78, -50.52, 55.38)
CIE-LCHlch(62.78, 74.96, 132.37°)
OKLaboklab(66.24% -0.1395 0.1239)
OKLCHoklch(66.24% 0.187 138.4)
XYZxyz(18.3593, 31.3191, 7.0848)
Luminance0.3132 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAC28 #8528AC
analogous
#91AC28 #4FAC28 #28AC43
triadic
#4FAC28 #284FAC #AC284F
tetradic
#4FAC28 #2891AC #8528AC #AC4328
square
#4FAC28 #2891AC #8528AC #AC4328
split-complementary
#4FAC28 #4328AC #AC2891
monochromatic
#214911 #387A1C #4FAC28 #6AD23F #91DE71

Accessibility & contrast

On white

2.89
#4FAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#4FAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAC28
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAC28#FFFFFF#000000##000000
##4FAC281.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D07
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#47A693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #4fac28;
/* rgb */ color: rgb(79, 172, 40);
/* oklch */ color: oklch(66.2% 0.187 138.4);
Tailwind
colors: {
  custom: {
    50: '#8ac56c',
    500: '#4fac28',
    950: '#000000',
  },
}
SCSS
$custom: #4fac28;
$custom-light: #8ac56c;
$custom-dark: #000000;
JSON
{
  "hex": "#4fac28",
  "rgb": {
    "r": 79,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 102.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66236,
    "c": 0.1866,
    "h": 138.4
  },
  "luminance": 0.31321
}

Semantic roles & 50–950 ramp

primary
#4FAC28
secondary
#AA6BC5
accent
#42E5B5
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #4FAC28

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

Preview Lab → · Contrast checker → · Palette generator →

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