#2FA742#2FA742

#2FA742 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.1% C 0.175 H 145.6°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2FA742
RGBrgb(47, 167, 66)
HSLhsl(130, 56%, 42%)
HSVhsv(130, 72%, 65%)
CMYKcmyk(71.9%, 0%, 60.5%, 34.5%)
CIE-LABlab(60.46, -53.63, 42.08)
CIE-LCHlch(60.46, 68.17, 141.88°)
OKLaboklab(64.13% -0.1448 0.0991)
OKLCHoklch(64.13% 0.175 145.6)
XYZxyz(15.9733, 28.6333, 9.8382)
Luminance0.2863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA742 #A72F94
analogous
#58A72F #2FA742 #2FA77E
triadic
#2FA742 #422FA7 #A7422F
tetradic
#2FA742 #2F58A7 #A72F94 #A77E2F
square
#2FA742 #2F58A7 #A72F94 #A77E2F
split-complementary
#2FA742 #7E2FA7 #A72F58
monochromatic
#14471C #22772F #2FA742 #48CB5D #78D987

Accessibility & contrast

On white

3.12
#2FA742 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#2FA742 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA742
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA742#FFFFFF#000000##000000
##2FA7421.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9837
Deuteranopia (green-blind)
#9C8E4A
Tritanopia (blue-blind)
#00A391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2fa742;
/* rgb */ color: rgb(47, 167, 66);
/* oklch */ color: oklch(64.1% 0.175 145.6);
Tailwind
colors: {
  custom: {
    50: '#79c27a',
    500: '#2fa742',
    950: '#000000',
  },
}
SCSS
$custom: #2fa742;
$custom-light: #79c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa742",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 66
  },
  "hsl": {
    "h": 129.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64128,
    "c": 0.17545,
    "h": 145.6
  },
  "luminance": 0.28635
}

Semantic roles & 50–950 ramp

primary
#2FA742
secondary
#C171B4
accent
#48C7DF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2FA742

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

Preview Lab → · Contrast checker → · Palette generator →

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