#2FB242#2FB242

#2FB242 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.189 H 145.2°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2FB242
RGBrgb(47, 178, 66)
HSLhsl(129, 58%, 44%)
HSVhsv(129, 74%, 70%)
CMYKcmyk(73.6%, 0%, 62.9%, 30.2%)
CIE-LABlab(64.03, -57.42, 46.15)
CIE-LCHlch(64.03, 73.67, 141.21°)
OKLaboklab(67.09% -0.155 0.1079)
OKLCHoklch(67.09% 0.189 145.2)
XYZxyz(18.0748, 32.8364, 10.5387)
Luminance0.3284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB242 #B22F9F
analogous
#5EB22F #2FB242 #2FB284
triadic
#2FB242 #422FB2 #B2422F
tetradic
#2FB242 #2F5EB2 #B22F9F #B2842F
square
#2FB242 #2F5EB2 #B22F9F #B2842F
split-complementary
#2FB242 #842FB2 #B22F5E
monochromatic
#15511E #228230 #2FB242 #4ED061 #7EDD8C

Accessibility & contrast

On white

2.77
#2FB242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#2FB242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB242
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB242#FFFFFF#000000##000000
##2FB2421.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A135
Deuteranopia (green-blind)
#A6974C
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2fb242;
/* rgb */ color: rgb(47, 178, 66);
/* oklch */ color: oklch(67.1% 0.189 145.2);
Tailwind
colors: {
  custom: {
    50: '#7cca7b',
    500: '#2fb242',
    950: '#000000',
  },
}
SCSS
$custom: #2fb242;
$custom-light: #7cca7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb242",
  "rgb": {
    "r": 47,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 128.702,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67088,
    "c": 0.18886,
    "h": 145.2
  },
  "luminance": 0.32838
}

Semantic roles & 50–950 ramp

primary
#2FB242
secondary
#C677BA
accent
#46CBE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FB242

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

Preview Lab → · Contrast checker → · Palette generator →

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