#2FA22C#2FA22C

#2FA22C is a light, vivid green. Relative luminance 0.266; OKLCH L 62.5% C 0.185 H 142.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2FA22C
RGBrgb(47, 162, 44)
HSLhsl(118, 57%, 40%)
HSVhsv(118, 73%, 64%)
CMYKcmyk(71%, 0%, 72.8%, 36.5%)
CIE-LABlab(58.63, -54.21, 49.49)
CIE-LCHlch(58.63, 73.41, 137.61°)
OKLaboklab(62.55% -0.1473 0.1124)
OKLCHoklch(62.55% 0.185 142.7)
XYZxyz(14.5464, 26.6253, 6.7550)
Luminance0.2663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA22C #9F2CA2
analogous
#6AA22C #2FA22C #2CA264
triadic
#2FA22C #2C2FA2 #A22C2F
tetradic
#2FA22C #2C6AA2 #9F2CA2 #A2642C
square
#2FA22C #2C6AA2 #9F2CA2 #A2642C
split-complementary
#2FA22C #642CA2 #A22C6A
monochromatic
#134212 #21721F #2FA22C #44CB40 #73D870

Accessibility & contrast

On white

3.32
#2FA22C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#2FA22C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA22C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA22C#FFFFFF#000000##000000
##2FA22C1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69318
Deuteranopia (green-blind)
#988938
Tritanopia (blue-blind)
#0B9D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa22c;
/* rgb */ color: rgb(47, 162, 44);
/* oklch */ color: oklch(62.5% 0.185 142.7);
Tailwind
colors: {
  custom: {
    50: '#79bf6c',
    500: '#2fa22c',
    950: '#000000',
  },
}
SCSS
$custom: #2fa22c;
$custom-light: #79bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa22c",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 118.475,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62548,
    "c": 0.18534,
    "h": 142.7
  },
  "luminance": 0.26627
}

Semantic roles & 50–950 ramp

primary
#2FA22C
secondary
#BD6ABF
accent
#47E1DD
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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