#2FB042#2FB042

#2FB042 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.6% C 0.186 H 145.2°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2FB042
RGBrgb(47, 176, 66)
HSLhsl(129, 58%, 44%)
HSVhsv(129, 73%, 69%)
CMYKcmyk(73.3%, 0%, 62.5%, 31%)
CIE-LABlab(63.38, -56.74, 45.42)
CIE-LCHlch(63.38, 72.68, 141.32°)
OKLaboklab(66.55% -0.1532 0.1063)
OKLCHoklch(66.55% 0.186 145.2)
XYZxyz(17.6798, 32.0463, 10.4070)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB042 #B02F9D
analogous
#5CB02F #2FB042 #2FB082
triadic
#2FB042 #422FB0 #B0422F
tetradic
#2FB042 #2F5CB0 #B02F9D #B0822F
square
#2FB042 #2F5CB0 #B02F9D #B0822F
split-complementary
#2FB042 #822FB0 #B02F5C
monochromatic
#154F1E #228030 #2FB042 #4DCF60 #7DDC8B

Accessibility & contrast

On white

2.83
#2FB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#2FB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB042
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB042#FFFFFF#000000##000000
##2FB0421.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A036
Deuteranopia (green-blind)
#A4954B
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2fb042;
/* rgb */ color: rgb(47, 176, 66);
/* oklch */ color: oklch(66.6% 0.186 145.2);
Tailwind
colors: {
  custom: {
    50: '#7bc97a',
    500: '#2fb042',
    950: '#000000',
  },
}
SCSS
$custom: #2fb042;
$custom-light: #7bc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb042",
  "rgb": {
    "r": 47,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 128.837,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66551,
    "c": 0.18646,
    "h": 145.2
  },
  "luminance": 0.32048
}

Semantic roles & 50–950 ramp

primary
#2FB042
secondary
#C576B9
accent
#47CAE1
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FB042

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

Preview Lab → · Contrast checker → · Palette generator →

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