#2FA822#2FA822

#2FA822 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.1% C 0.198 H 141.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2FA822
RGBrgb(47, 168, 34)
HSLhsl(114, 66%, 40%)
HSVhsv(114, 80%, 66%)
CMYKcmyk(72%, 0%, 79.8%, 34.1%)
CIE-LABlab(60.54, -56.95, 54.84)
CIE-LCHlch(60.54, 79.06, 136.08°)
OKLaboklab(64.11% -0.1552 0.1222)
OKLCHoklch(64.11% 0.198 141.8)
XYZxyz(15.4628, 28.7234, 6.2423)
Luminance0.2873 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA822 #9B22A8
analogous
#72A822 #2FA822 #22A858
triadic
#2FA822 #222FA8 #A8222F
tetradic
#2FA822 #2272A8 #9B22A8 #A85822
square
#2FA822 #2272A8 #9B22A8 #A85822
split-complementary
#2FA822 #5822A8 #A82272
monochromatic
#13420D #217518 #2FA822 #42D532 #71E065

Accessibility & contrast

On white

3.11
#2FA822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#2FA822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA822
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA822#FFFFFF#000000##000000
##2FA8221.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9800
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#09A38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2fa822;
/* rgb */ color: rgb(47, 168, 34);
/* oklch */ color: oklch(64.1% 0.198 141.8);
Tailwind
colors: {
  custom: {
    50: '#7bc368',
    500: '#2fa822',
    950: '#000000',
  },
}
SCSS
$custom: #2fa822;
$custom-light: #7bc368;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa822",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 34
  },
  "hsl": {
    "h": 114.179,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64115,
    "c": 0.19757,
    "h": 141.8
  },
  "luminance": 0.28725
}

Semantic roles & 50–950 ramp

primary
#2FA822
secondary
#BB61C5
accent
#3FE9D9
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2FA822

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

Preview Lab → · Contrast checker → · Palette generator →

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