#4FAB2A#4FAB2A

#4FAB2A is a light, vivid green. Relative luminance 0.310; OKLCH L 66.0% C 0.184 H 138.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#4FAB2A
RGBrgb(79, 171, 42)
HSLhsl(103, 61%, 42%)
HSVhsv(103, 75%, 67%)
CMYKcmyk(53.8%, 0%, 75.4%, 32.9%)
CIE-LABlab(62.47, -50.01, 54.39)
CIE-LCHlch(62.47, 73.89, 132.60°)
OKLaboklab(65.99% -0.138 0.1221)
OKLCHoklch(65.99% 0.184 138.5)
XYZxyz(18.2046, 30.9538, 7.2054)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4FAB2A #862AAB
analogous
#90AB2A #4FAB2A #2AAB46
triadic
#4FAB2A #2A4FAB #AB2A4F
tetradic
#4FAB2A #2A90AB #862AAB #AB462A
square
#4FAB2A #2A90AB #862AAB #AB462A
split-complementary
#4FAB2A #462AAB #AB2A90
monochromatic
#224912 #387A1E #4FAB2A #6BD142 #91DD73

Accessibility & contrast

On white

2.92
#4FAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#4FAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #4FAB2A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4FAB2A#FFFFFF#000000##000000
##4FAB2A1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0E
Deuteranopia (green-blind)
#A59438
Tritanopia (blue-blind)
#47A592
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #4fab2a;
/* rgb */ color: rgb(79, 171, 42);
/* oklch */ color: oklch(66.0% 0.184 138.5);
Tailwind
colors: {
  custom: {
    50: '#8ac56d',
    500: '#4fab2a',
    950: '#000000',
  },
}
SCSS
$custom: #4fab2a;
$custom-light: #8ac56d;
$custom-dark: #000000;
JSON
{
  "hex": "#4fab2a",
  "rgb": {
    "r": 79,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 102.791,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65987,
    "c": 0.1843,
    "h": 138.5
  },
  "luminance": 0.30955
}

Semantic roles & 50–950 ramp

primary
#4FAB2A
secondary
#AB6DC4
accent
#44E4B6
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0D1307
muted
#7D827A

Preview Lab

Preview with #4FAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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