#2FA251#2FA251

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

Color values

HEX#2FA251
RGBrgb(47, 162, 81)
HSLhsl(138, 55%, 41%)
HSVhsv(138, 71%, 64%)
CMYKcmyk(71%, 0%, 50%, 36.5%)
CIE-LABlab(59.01, -49.69, 32.96)
CIE-LCHlch(59.01, 59.63, 146.45°)
OKLaboklab(62.99% -0.1338 0.0801)
OKLCHoklch(62.99% 0.156 149.1)
XYZxyz(15.5766, 27.0374, 12.1808)
Luminance0.2704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA251 #A22F80
analogous
#46A22F #2FA251 #2FA28A
triadic
#2FA251 #512FA2 #A2512F
tetradic
#2FA251 #2F46A2 #A22F80 #A28A2F
square
#2FA251 #2F46A2 #A22F80 #A28A2F
split-complementary
#2FA251 #8A2FA2 #A22F46
monochromatic
#134322 #217339 #2FA251 #45C96C #75D792

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA251#FFFFFF#000000##000000
##2FA2511.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)
#A3944A
Deuteranopia (green-blind)
#958A57
Tritanopia (blue-blind)
#009F8F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #2fa251;
/* rgb */ color: rgb(47, 162, 81);
/* oklch */ color: oklch(63.0% 0.156 149.1);
Tailwind
colors: {
  custom: {
    50: '#77be83',
    500: '#2fa251',
    950: '#000000',
  },
}
SCSS
$custom: #2fa251;
$custom-light: #77be83;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa251",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 137.739,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62989,
    "c": 0.15592,
    "h": 149.1
  },
  "luminance": 0.27039
}

Semantic roles & 50–950 ramp

primary
#2FA251
secondary
#BF6EA7
accent
#49B2DE
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #2FA251

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

Preview Lab → · Contrast checker → · Palette generator →

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