#2FA127#2FA127

#2FA127 is a light, vivid green. Relative luminance 0.262; OKLCH L 62.2% C 0.187 H 142.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2FA127
RGBrgb(47, 161, 39)
HSLhsl(116, 61%, 39%)
HSVhsv(116, 76%, 63%)
CMYKcmyk(70.8%, 0%, 75.8%, 36.9%)
CIE-LABlab(58.26, -54.28, 50.97)
CIE-LCHlch(58.26, 74.46, 136.80°)
OKLaboklab(62.24% -0.1478 0.1148)
OKLCHoklch(62.24% 0.187 142.1)
XYZxyz(14.2825, 26.2390, 6.2310)
Luminance0.2624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA127 #9927A1
analogous
#6CA127 #2FA127 #27A15C
triadic
#2FA127 #272FA1 #A1272F
tetradic
#2FA127 #276CA1 #9927A1 #A15C27
square
#2FA127 #276CA1 #9927A1 #A15C27
split-complementary
#2FA127 #5C27A1 #A1276C
monochromatic
#123E0F #21701B #2FA127 #41CE37 #6FDA68

Accessibility & contrast

On white

3.36
#2FA127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#2FA127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA127
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA127#FFFFFF#000000##000000
##2FA1271.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5920D
Deuteranopia (green-blind)
#988934
Tritanopia (blue-blind)
#0F9C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2fa127;
/* rgb */ color: rgb(47, 161, 39);
/* oklch */ color: oklch(62.2% 0.187 142.1);
Tailwind
colors: {
  custom: {
    50: '#79be6a',
    500: '#2fa127',
    950: '#000000',
  },
}
SCSS
$custom: #2fa127;
$custom-light: #79be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa127",
  "rgb": {
    "r": 47,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 116.066,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62237,
    "c": 0.18714,
    "h": 142.1
  },
  "luminance": 0.26241
}

Semantic roles & 50–950 ramp

primary
#2FA127
secondary
#BA63C0
accent
#44E4DA
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA127

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

Preview Lab → · Contrast checker → · Palette generator →

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