#2FB842#2FB842

#2FB842 is a light, vivid green. Relative luminance 0.353; OKLCH L 68.7% C 0.196 H 145.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2FB842
RGBrgb(47, 184, 66)
HSLhsl(128, 59%, 45%)
HSVhsv(128, 74%, 72%)
CMYKcmyk(74.5%, 0%, 64.1%, 27.8%)
CIE-LABlab(65.96, -59.43, 48.32)
CIE-LCHlch(65.96, 76.60, 140.89°)
OKLaboklab(68.69% -0.1605 0.1125)
OKLCHoklch(68.69% 0.196 145)
XYZxyz(19.2948, 35.2764, 10.9454)
Luminance0.3528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB842 #B82FA5
analogous
#61B82F #2FB842 #2FB886
triadic
#2FB842 #422FB8 #B8422F
tetradic
#2FB842 #2F61B8 #B82FA5 #B8862F
square
#2FB842 #2F61B8 #B82FA5 #B8862F
split-complementary
#2FB842 #862FB8 #B82F61
monochromatic
#16571F #238731 #2FB842 #52D363 #82DF8F

Accessibility & contrast

On white

2.61
#2FB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#2FB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB842
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB842#FFFFFF#000000##000000
##2FB8421.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA734
Deuteranopia (green-blind)
#AC9C4C
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2fb842;
/* rgb */ color: rgb(47, 184, 66);
/* oklch */ color: oklch(68.7% 0.196 145.0);
Tailwind
colors: {
  custom: {
    50: '#7dcf7b',
    500: '#2fb842',
    950: '#000000',
  },
}
SCSS
$custom: #2fb842;
$custom-light: #7dcf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb842",
  "rgb": {
    "r": 47,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 128.321,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68693,
    "c": 0.19599,
    "h": 145
  },
  "luminance": 0.35279
}

Semantic roles & 50–950 ramp

primary
#2FB842
secondary
#C87BBD
accent
#45CDE2
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2FB842

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

Preview Lab → · Contrast checker → · Palette generator →

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