#2FA631#2FA631

#2FA631 is a light, vivid green. Relative luminance 0.281; OKLCH L 63.7% C 0.187 H 143.2°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2FA631
RGBrgb(47, 166, 49)
HSLhsl(121, 56%, 42%)
HSVhsv(121, 72%, 65%)
CMYKcmyk(71.7%, 0%, 70.5%, 34.9%)
CIE-LABlab(59.98, -55.13, 48.94)
CIE-LCHlch(59.98, 73.72, 138.40°)
OKLaboklab(63.68% -0.1496 0.1119)
OKLCHoklch(63.68% 0.187 143.2)
XYZxyz(15.3619, 28.0968, 7.5188)
Luminance0.2810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA631 #A62FA4
analogous
#69A62F #2FA631 #2FA66C
triadic
#2FA631 #312FA6 #A6312F
tetradic
#2FA631 #2F69A6 #A62FA4 #A66C2F
square
#2FA631 #2F69A6 #A62FA4 #A66C2F
split-complementary
#2FA631 #6C2FA6 #A62F69
monochromatic
#144715 #217623 #2FA631 #47CB49 #77D879

Accessibility & contrast

On white

3.17
#2FA631 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#2FA631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA631
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA631#FFFFFF#000000##000000
##2FA6311.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961F
Deuteranopia (green-blind)
#9C8D3C
Tritanopia (blue-blind)
#03A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #2fa631;
/* rgb */ color: rgb(47, 166, 49);
/* oklch */ color: oklch(63.7% 0.187 143.2);
Tailwind
colors: {
  custom: {
    50: '#7ac270',
    500: '#2fa631',
    950: '#000000',
  },
}
SCSS
$custom: #2fa631;
$custom-light: #7ac270;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa631",
  "rgb": {
    "r": 47,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 121.008,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6368,
    "c": 0.18679,
    "h": 143.2
  },
  "luminance": 0.28099
}

Semantic roles & 50–950 ramp

primary
#2FA631
secondary
#C170BF
accent
#49DDDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2FA631

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

Preview Lab → · Contrast checker → · Palette generator →

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