#2FA738#2FA738

#2FA738 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.0% C 0.183 H 144.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2FA738
RGBrgb(47, 167, 56)
HSLhsl(125, 56%, 42%)
HSVhsv(125, 72%, 65%)
CMYKcmyk(71.9%, 0%, 66.5%, 34.5%)
CIE-LABlab(60.36, -54.78, 46.45)
CIE-LCHlch(60.36, 71.82, 139.70°)
OKLaboklab(64.02% -0.1483 0.1075)
OKLCHoklch(64.02% 0.183 144.1)
XYZxyz(15.7038, 28.5256, 8.4190)
Luminance0.2853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA738 #A72F9E
analogous
#62A72F #2FA738 #2FA774
triadic
#2FA738 #382FA7 #A7382F
tetradic
#2FA738 #2F62A7 #A72F9E #A7742F
square
#2FA738 #2F62A7 #A72F9E #A7742F
split-complementary
#2FA738 #742FA7 #A72F62
monochromatic
#144718 #227728 #2FA738 #48CB52 #78D97F

Accessibility & contrast

On white

3.13
#2FA738 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#2FA738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA738
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA738#FFFFFF#000000##000000
##2FA7381.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA972A
Deuteranopia (green-blind)
#9C8E42
Tritanopia (blue-blind)
#00A290
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2fa738;
/* rgb */ color: rgb(47, 167, 56);
/* oklch */ color: oklch(64.0% 0.183 144.1);
Tailwind
colors: {
  custom: {
    50: '#7ac274',
    500: '#2fa738',
    950: '#000000',
  },
}
SCSS
$custom: #2fa738;
$custom-light: #7ac274;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa738",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 124.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64017,
    "c": 0.18314,
    "h": 144.1
  },
  "luminance": 0.28527
}

Semantic roles & 50–950 ramp

primary
#2FA738
secondary
#C171BB
accent
#48D4DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2FA738

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

Preview Lab → · Contrast checker → · Palette generator →

#2FA738 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva