#2FA042#2FA042

#2FA042 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.2% C 0.167 H 145.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2FA042
RGBrgb(47, 160, 66)
HSLhsl(130, 55%, 41%)
HSVhsv(130, 71%, 63%)
CMYKcmyk(70.6%, 0%, 58.8%, 37.3%)
CIE-LABlab(58.17, -51.15, 39.41)
CIE-LCHlch(58.17, 64.57, 142.38°)
OKLaboklab(62.23% -0.138 0.0934)
OKLCHoklch(62.23% 0.167 145.9)
XYZxyz(14.7254, 26.1377, 9.4222)
Luminance0.2614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA042 #A02F8D
analogous
#55A02F #2FA042 #2FA07A
triadic
#2FA042 #422FA0 #A0422F
tetradic
#2FA042 #2F55A0 #A02F8D #A07A2F
square
#2FA042 #2F55A0 #A02F8D #A07A2F
split-complementary
#2FA042 #7A2FA0 #A02F55
monochromatic
#13411B #21712E #2FA042 #44C85A #73D684

Accessibility & contrast

On white

3.37
#2FA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#2FA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA042
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA042#FFFFFF#000000##000000
##2FA0421.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29139
Deuteranopia (green-blind)
#958849
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2fa042;
/* rgb */ color: rgb(47, 160, 66);
/* oklch */ color: oklch(62.2% 0.167 145.9);
Tailwind
colors: {
  custom: {
    50: '#77bd79',
    500: '#2fa042',
    950: '#000000',
  },
}
SCSS
$custom: #2fa042;
$custom-light: #77bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa042",
  "rgb": {
    "r": 47,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 130.088,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.62233,
    "c": 0.16665,
    "h": 145.9
  },
  "luminance": 0.26139
}

Semantic roles & 50–950 ramp

primary
#2FA042
secondary
#BE6DB0
accent
#4AC5DE
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA042

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

Preview Lab → · Contrast checker → · Palette generator →

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