#2FA227#2FA227

#2FA227 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.188 H 142.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#2FA227
RGBrgb(47, 162, 39)
HSLhsl(116, 61%, 39%)
HSVhsv(116, 76%, 64%)
CMYKcmyk(71%, 0%, 75.9%, 36.5%)
CIE-LABlab(58.59, -54.61, 51.30)
CIE-LCHlch(58.59, 74.93, 136.79°)
OKLaboklab(62.51% -0.1487 0.1155)
OKLCHoklch(62.51% 0.188 142.1)
XYZxyz(14.4580, 26.5899, 6.2895)
Luminance0.2659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA227 #9A27A2
analogous
#6CA227 #2FA227 #27A25D
triadic
#2FA227 #272FA2 #A2272F
tetradic
#2FA227 #276CA2 #9A27A2 #A25D27
square
#2FA227 #276CA2 #9A27A2 #A25D27
split-complementary
#2FA227 #5D27A2 #A2276C
monochromatic
#123F0F #21711B #2FA227 #41CF37 #70DB69

Accessibility & contrast

On white

3.32
#2FA227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#2FA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA227
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA227#FFFFFF#000000##000000
##2FA2271.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6920D
Deuteranopia (green-blind)
#998934
Tritanopia (blue-blind)
#0E9D8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa227;
/* rgb */ color: rgb(47, 162, 39);
/* oklch */ color: oklch(62.5% 0.188 142.1);
Tailwind
colors: {
  custom: {
    50: '#79bf6a',
    500: '#2fa227',
    950: '#000000',
  },
}
SCSS
$custom: #2fa227;
$custom-light: #79bf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa227",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 116.098,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.6251,
    "c": 0.18828,
    "h": 142.1
  },
  "luminance": 0.26591
}

Semantic roles & 50–950 ramp

primary
#2FA227
secondary
#BB64C1
accent
#43E4DA
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA227

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

Preview Lab → · Contrast checker → · Palette generator →

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