#2FA12C#2FA12C

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

Color values

HEX#2FA12C
RGBrgb(47, 161, 44)
HSLhsl(118, 57%, 40%)
HSVhsv(118, 73%, 63%)
CMYKcmyk(70.8%, 0%, 72.7%, 36.9%)
CIE-LABlab(58.30, -53.87, 49.15)
CIE-LCHlch(58.30, 72.93, 137.62°)
OKLaboklab(62.28% -0.1464 0.1117)
OKLCHoklch(62.28% 0.184 142.7)
XYZxyz(14.3709, 26.2744, 6.6965)
Luminance0.2628 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA12C #9E2CA1
analogous
#69A12C #2FA12C #2CA164
triadic
#2FA12C #2C2FA1 #A12C2F
tetradic
#2FA12C #2C69A1 #9E2CA1 #A1642C
square
#2FA12C #2C69A1 #9E2CA1 #A1642C
split-complementary
#2FA12C #642CA1 #A12C69
monochromatic
#134112 #21711F #2FA12C #43CB40 #72D870

Accessibility & contrast

On white

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

On black

6.26
#2FA12C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA12C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA12C#FFFFFF#000000##000000
##2FA12C1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59218
Deuteranopia (green-blind)
#978938
Tritanopia (blue-blind)
#0C9C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2fa12c;
/* rgb */ color: rgb(47, 161, 44);
/* oklch */ color: oklch(62.3% 0.184 142.7);
Tailwind
colors: {
  custom: {
    50: '#79be6c',
    500: '#2fa12c',
    950: '#000000',
  },
}
SCSS
$custom: #2fa12c;
$custom-light: #79be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa12c",
  "rgb": {
    "r": 47,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 118.462,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62275,
    "c": 0.18417,
    "h": 142.7
  },
  "luminance": 0.26276
}

Semantic roles & 50–950 ramp

primary
#2FA12C
secondary
#BD6ABF
accent
#47E0DC
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA12C

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

Preview Lab → · Contrast checker → · Palette generator →

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