#2FA42C#2FA42C

#2FA42C is a light, vivid green. Relative luminance 0.273; OKLCH L 63.1% C 0.188 H 142.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2FA42C
RGBrgb(47, 164, 44)
HSLhsl(119, 58%, 41%)
HSVhsv(119, 73%, 64%)
CMYKcmyk(71.3%, 0%, 73.2%, 35.7%)
CIE-LABlab(59.28, -54.89, 50.17)
CIE-LCHlch(59.28, 74.36, 137.57°)
OKLaboklab(63.09% -0.1492 0.1138)
OKLCHoklch(63.09% 0.188 142.7)
XYZxyz(14.9015, 27.3355, 6.8733)
Luminance0.2734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA42C #A12CA4
analogous
#6BA42C #2FA42C #2CA465
triadic
#2FA42C #2C2FA4 #A42C2F
tetradic
#2FA42C #2C6BA4 #A12CA4 #A4652C
square
#2FA42C #2C6BA4 #A12CA4 #A4652C
split-complementary
#2FA42C #652CA4 #A42C6B
monochromatic
#134312 #21741F #2FA42C #45CC41 #74D971

Accessibility & contrast

On white

3.25
#2FA42C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#2FA42C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA42C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA42C#FFFFFF#000000##000000
##2FA42C1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89417
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#099F8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2fa42c;
/* rgb */ color: rgb(47, 164, 44);
/* oklch */ color: oklch(63.1% 0.188 142.7);
Tailwind
colors: {
  custom: {
    50: '#79c06d',
    500: '#2fa42c',
    950: '#000000',
  },
}
SCSS
$custom: #2fa42c;
$custom-light: #79c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa42c",
  "rgb": {
    "r": 47,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 118.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63094,
    "c": 0.18765,
    "h": 142.7
  },
  "luminance": 0.27337
}

Semantic roles & 50–950 ramp

primary
#2FA42C
secondary
#BE6BC0
accent
#47E1DD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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