#2FA252#2FA252

#2FA252 is a light, vivid green. Relative luminance 0.271; OKLCH L 63.0% C 0.155 H 149.4°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2FA252
RGBrgb(47, 162, 82)
HSLhsl(138, 55%, 41%)
HSVhsv(138, 71%, 64%)
CMYKcmyk(71%, 0%, 49.4%, 36.5%)
CIE-LABlab(59.02, -49.53, 32.46)
CIE-LCHlch(59.02, 59.22, 146.76°)
OKLaboklab(63.01% -0.1334 0.079)
OKLCHoklch(63.01% 0.155 149.4)
XYZxyz(15.6144, 27.0525, 12.3798)
Luminance0.2705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA252 #A22F7F
analogous
#45A22F #2FA252 #2FA28B
triadic
#2FA252 #522FA2 #A2522F
tetradic
#2FA252 #2F45A2 #A22F7F #A28B2F
square
#2FA252 #2F45A2 #A22F7F #A28B2F
split-complementary
#2FA252 #8B2FA2 #A22F45
monochromatic
#134322 #21733A #2FA252 #45C96D #75D792

Accessibility & contrast

On white

3.28
#2FA252 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#2FA252 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA252
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA252#FFFFFF#000000##000000
##2FA2521.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3944B
Deuteranopia (green-blind)
#958A58
Tritanopia (blue-blind)
#009F8F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2fa252;
/* rgb */ color: rgb(47, 162, 82);
/* oklch */ color: oklch(63.0% 0.155 149.4);
Tailwind
colors: {
  custom: {
    50: '#77be84',
    500: '#2fa252',
    950: '#000000',
  },
}
SCSS
$custom: #2fa252;
$custom-light: #77be84;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa252",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 138.261,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63005,
    "c": 0.155,
    "h": 149.4
  },
  "luminance": 0.27054
}

Semantic roles & 50–950 ramp

primary
#2FA252
secondary
#BF6EA6
accent
#49B1DE
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #2FA252

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

Preview Lab → · Contrast checker → · Palette generator →

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