#2FA545#2FA545

#2FA545 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.170 H 146.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2FA545
RGBrgb(47, 165, 69)
HSLhsl(131, 56%, 42%)
HSVhsv(131, 72%, 65%)
CMYKcmyk(71.5%, 0%, 58.2%, 35.3%)
CIE-LABlab(59.84, -52.54, 39.93)
CIE-LCHlch(59.84, 65.99, 142.76°)
OKLaboklab(63.63% -0.1417 0.0948)
OKLCHoklch(63.63% 0.17 146.2)
XYZxyz(15.7005, 27.9425, 10.1951)
Luminance0.2794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA545 #A52F8F
analogous
#54A52F #2FA545 #2FA580
triadic
#2FA545 #452FA5 #A5452F
tetradic
#2FA545 #2F54A5 #A52F8F #A5802F
square
#2FA545 #2F54A5 #A52F8F #A5802F
split-complementary
#2FA545 #802FA5 #A52F54
monochromatic
#14461D #217531 #2FA545 #47CB5F #76D889

Accessibility & contrast

On white

3.19
#2FA545 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#2FA545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA545
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA545#FFFFFF#000000##000000
##2FA5451.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7963B
Deuteranopia (green-blind)
#998C4D
Tritanopia (blue-blind)
#00A190
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2fa545;
/* rgb */ color: rgb(47, 165, 69);
/* oklch */ color: oklch(63.6% 0.170 146.2);
Tailwind
colors: {
  custom: {
    50: '#78c17b',
    500: '#2fa545',
    950: '#000000',
  },
}
SCSS
$custom: #2fa545;
$custom-light: #78c17b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa545",
  "rgb": {
    "r": 47,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 131.186,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63625,
    "c": 0.17046,
    "h": 146.2
  },
  "luminance": 0.27944
}

Semantic roles & 50–950 ramp

primary
#2FA545
secondary
#C070B1
accent
#49C3DF
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA545

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

Preview Lab → · Contrast checker → · Palette generator →

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