#2FA245#2FA245

#2FA245 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.8% C 0.167 H 146.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#2FA245
RGBrgb(47, 162, 69)
HSLhsl(131, 55%, 41%)
HSVhsv(131, 71%, 64%)
CMYKcmyk(71%, 0%, 57.4%, 36.5%)
CIE-LABlab(58.86, -51.47, 38.78)
CIE-LCHlch(58.86, 64.44, 143.00°)
OKLaboklab(62.81% -0.1388 0.0922)
OKLCHoklch(62.81% 0.167 146.4)
XYZxyz(15.1657, 26.8730, 10.0168)
Luminance0.2687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA245 #A22F8C
analogous
#52A22F #2FA245 #2FA27E
triadic
#2FA245 #452FA2 #A2452F
tetradic
#2FA245 #2F52A2 #A22F8C #A27E2F
square
#2FA245 #2F52A2 #A22F8C #A27E2F
split-complementary
#2FA245 #7E2FA2 #A22F52
monochromatic
#13431D #217331 #2FA245 #45C95E #75D787

Accessibility & contrast

On white

3.29
#2FA245 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#2FA245 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA245
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA245#FFFFFF#000000##000000
##2FA2451.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933C
Deuteranopia (green-blind)
#978A4C
Tritanopia (blue-blind)
#009E8D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2fa245;
/* rgb */ color: rgb(47, 162, 69);
/* oklch */ color: oklch(62.8% 0.167 146.4);
Tailwind
colors: {
  custom: {
    50: '#78bf7b',
    500: '#2fa245',
    950: '#000000',
  },
}
SCSS
$custom: #2fa245;
$custom-light: #78bf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa245",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 131.478,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62814,
    "c": 0.16665,
    "h": 146.4
  },
  "luminance": 0.26875
}

Semantic roles & 50–950 ramp

primary
#2FA245
secondary
#BF6EAF
accent
#49C2DE
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA245

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

Preview Lab → · Contrast checker → · Palette generator →

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