#2FB942#2FB942

#2FB942 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.0% C 0.197 H 144.9°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2FB942
RGBrgb(47, 185, 66)
HSLhsl(128, 59%, 45%)
HSVhsv(128, 75%, 73%)
CMYKcmyk(74.6%, 0%, 64.3%, 27.5%)
CIE-LABlab(66.28, -59.76, 48.68)
CIE-LCHlch(66.28, 77.08, 140.84°)
OKLaboklab(68.96% -0.1614 0.1133)
OKLCHoklch(68.96% 0.197 144.9)
XYZxyz(19.5033, 35.6934, 11.0148)
Luminance0.3570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB942 #B92FA6
analogous
#61B92F #2FB942 #2FB987
triadic
#2FB942 #422FB9 #B9422F
tetradic
#2FB942 #2F61B9 #B92FA6 #B9872F
square
#2FB942 #2F61B9 #B92FA6 #B9872F
split-complementary
#2FB942 #872FB9 #B92F61
monochromatic
#16571F #238831 #2FB942 #52D364 #83DF90

Accessibility & contrast

On white

2.58
#2FB942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#2FB942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB942
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB942#FFFFFF#000000##000000
##2FB9421.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#AD9D4D
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2fb942;
/* rgb */ color: rgb(47, 185, 66);
/* oklch */ color: oklch(69.0% 0.197 144.9);
Tailwind
colors: {
  custom: {
    50: '#7dcf7b',
    500: '#2fb942',
    950: '#000000',
  },
}
SCSS
$custom: #2fb942;
$custom-light: #7dcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb942",
  "rgb": {
    "r": 47,
    "g": 185,
    "b": 66
  },
  "hsl": {
    "h": 128.261,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68959,
    "c": 0.19716,
    "h": 144.9
  },
  "luminance": 0.35696
}

Semantic roles & 50–950 ramp

primary
#2FB942
secondary
#C97BBE
accent
#45CDE3
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2FB942

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

Preview Lab → · Contrast checker → · Palette generator →

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