#2FA12F#2FA12F

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

Color values

HEX#2FA12F
RGBrgb(47, 161, 47)
HSLhsl(120, 55%, 41%)
HSVhsv(120, 71%, 63%)
CMYKcmyk(70.8%, 0%, 70.8%, 36.9%)
CIE-LABlab(58.32, -53.61, 48.00)
CIE-LCHlch(58.32, 71.96, 138.16°)
OKLaboklab(62.3% -0.1456 0.1097)
OKLCHoklch(62.3% 0.182 143)
XYZxyz(14.4294, 26.2977, 7.0043)
Luminance0.2630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA12F #A12FA1
analogous
#68A12F #2FA12F #2FA168
triadic
#2FA12F #2F2FA1 #A12F2F
tetradic
#2FA12F #2F68A1 #A12FA1 #A1682F
square
#2FA12F #2F68A1 #A12FA1 #A1682F
split-complementary
#2FA12F #682FA1 #A12F68
monochromatic
#134213 #217221 #2FA12F #45C945 #74D674

Accessibility & contrast

On white

3.35
#2FA12F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA12F#FFFFFF#000000##000000
##2FA12F1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921E
Deuteranopia (green-blind)
#97893A
Tritanopia (blue-blind)
#0B9C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2fa12f;
/* rgb */ color: rgb(47, 161, 47);
/* oklch */ color: oklch(62.3% 0.182 143.0);
Tailwind
colors: {
  custom: {
    50: '#79be6e',
    500: '#2fa12f',
    950: '#000000',
  },
}
SCSS
$custom: #2fa12f;
$custom-light: #79be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa12f",
  "rgb": {
    "r": 47,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 120,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.62301,
    "c": 0.18225,
    "h": 143
  },
  "luminance": 0.26299
}

Semantic roles & 50–950 ramp

primary
#2FA12F
secondary
#BE6EBE
accent
#4ADEDE
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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