#2FA229#2FA229

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

Color values

HEX#2FA229
RGBrgb(47, 162, 41)
HSLhsl(117, 60%, 40%)
HSVhsv(117, 75%, 64%)
CMYKcmyk(71%, 0%, 74.7%, 36.5%)
CIE-LABlab(58.61, -54.46, 50.59)
CIE-LCHlch(58.61, 74.33, 137.11°)
OKLaboklab(62.53% -0.1482 0.1143)
OKLCHoklch(62.53% 0.187 142.3)
XYZxyz(14.4920, 26.6035, 6.4686)
Luminance0.2661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA229 #9C29A2
analogous
#6BA229 #2FA229 #29A260
triadic
#2FA229 #292FA2 #A2292F
tetradic
#2FA229 #296BA2 #9C29A2 #A26029
square
#2FA229 #296BA2 #9C29A2 #A26029
split-complementary
#2FA229 #6029A2 #A2296B
monochromatic
#134010 #21711D #2FA229 #42CD3B #71DA6C

Accessibility & contrast

On white

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

On black

6.32
#2FA229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA229
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA229#FFFFFF#000000##000000
##2FA2291.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69212
Deuteranopia (green-blind)
#998936
Tritanopia (blue-blind)
#0D9D8B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2fa229;
/* rgb */ color: rgb(47, 162, 41);
/* oklch */ color: oklch(62.5% 0.187 142.3);
Tailwind
colors: {
  custom: {
    50: '#79bf6b',
    500: '#2fa229',
    950: '#000000',
  },
}
SCSS
$custom: #2fa229;
$custom-light: #79bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa229",
  "rgb": {
    "r": 47,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 117.025,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62525,
    "c": 0.18714,
    "h": 142.3
  },
  "luminance": 0.26605
}

Semantic roles & 50–950 ramp

primary
#2FA229
secondary
#BC67C0
accent
#45E3DB
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA229

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

Preview Lab → · Contrast checker → · Palette generator →

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