#2FA12B#2FA12B

#2FA12B is a light, vivid green. Relative luminance 0.263; OKLCH L 62.3% C 0.185 H 142.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2FA12B
RGBrgb(47, 161, 43)
HSLhsl(118, 58%, 40%)
HSVhsv(118, 73%, 63%)
CMYKcmyk(70.8%, 0%, 73.3%, 36.9%)
CIE-LABlab(58.29, -53.96, 49.53)
CIE-LCHlch(58.29, 73.24, 137.45°)
OKLaboklab(62.27% -0.1467 0.1124)
OKLCHoklch(62.27% 0.185 142.5)
XYZxyz(14.3524, 26.2669, 6.5987)
Luminance0.2627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA12B #9D2BA1
analogous
#6AA12B #2FA12B #2BA162
triadic
#2FA12B #2B2FA1 #A12B2F
tetradic
#2FA12B #2B6AA1 #9D2BA1 #A1622B
square
#2FA12B #2B6AA1 #9D2BA1 #A1622B
split-complementary
#2FA12B #622BA1 #A12B6A
monochromatic
#134011 #21711E #2FA12B #43CB3E #72D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA12B#FFFFFF#000000##000000
##2FA12B1.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)
#A59216
Deuteranopia (green-blind)
#978937
Tritanopia (blue-blind)
#0D9C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2fa12b;
/* rgb */ color: rgb(47, 161, 43);
/* oklch */ color: oklch(62.3% 0.185 142.5);
Tailwind
colors: {
  custom: {
    50: '#79be6c',
    500: '#2fa12b',
    950: '#000000',
  },
}
SCSS
$custom: #2fa12b;
$custom-light: #79be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa12b",
  "rgb": {
    "r": 47,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 117.966,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.62267,
    "c": 0.18479,
    "h": 142.5
  },
  "luminance": 0.26268
}

Semantic roles & 50–950 ramp

primary
#2FA12B
secondary
#BC69BF
accent
#47E1DC
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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