#2FA12A#2FA12A

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

Color values

HEX#2FA12A
RGBrgb(47, 161, 42)
HSLhsl(117, 59%, 40%)
HSVhsv(117, 74%, 63%)
CMYKcmyk(70.8%, 0%, 73.9%, 36.9%)
CIE-LABlab(58.28, -54.04, 49.90)
CIE-LCHlch(58.28, 73.55, 137.28°)
OKLaboklab(62.26% -0.147 0.113)
OKLCHoklch(62.26% 0.185 142.4)
XYZxyz(14.3342, 26.2597, 6.5032)
Luminance0.2626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA12A #9C2AA1
analogous
#6BA12A #2FA12A #2AA161
triadic
#2FA12A #2A2FA1 #A12A2F
tetradic
#2FA12A #2A6BA1 #9C2AA1 #A1612A
square
#2FA12A #2A6BA1 #9C2AA1 #A1612A
split-complementary
#2FA12A #612AA1 #A12A6B
monochromatic
#134011 #21701D #2FA12A #42CC3C #71D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA12A#FFFFFF#000000##000000
##2FA12A1.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)
#A59214
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#0D9C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2fa12a;
/* rgb */ color: rgb(47, 161, 42);
/* oklch */ color: oklch(62.3% 0.185 142.4);
Tailwind
colors: {
  custom: {
    50: '#79be6b',
    500: '#2fa12a',
    950: '#000000',
  },
}
SCSS
$custom: #2fa12a;
$custom-light: #79be6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa12a",
  "rgb": {
    "r": 47,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 117.479,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62259,
    "c": 0.1854,
    "h": 142.4
  },
  "luminance": 0.26261
}

Semantic roles & 50–950 ramp

primary
#2FA12A
secondary
#BC67C0
accent
#46E2DB
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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