#2FA731#2FA731

#2FA731 is a light, vivid green. Relative luminance 0.285; OKLCH L 64.0% C 0.188 H 143.2°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2FA731
RGBrgb(47, 167, 49)
HSLhsl(121, 56%, 42%)
HSVhsv(121, 72%, 65%)
CMYKcmyk(71.9%, 0%, 70.7%, 34.5%)
CIE-LABlab(60.30, -55.46, 49.28)
CIE-LCHlch(60.30, 74.20, 138.38°)
OKLaboklab(63.95% -0.1505 0.1126)
OKLCHoklch(63.95% 0.188 143.2)
XYZxyz(15.5444, 28.4618, 7.5796)
Luminance0.2846 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA731 #A72FA5
analogous
#69A72F #2FA731 #2FA76D
triadic
#2FA731 #312FA7 #A7312F
tetradic
#2FA731 #2F69A7 #A72FA5 #A76D2F
square
#2FA731 #2F69A7 #A72FA5 #A76D2F
split-complementary
#2FA731 #6D2FA7 #A72F69
monochromatic
#144715 #227723 #2FA731 #48CB4A #78D979

Accessibility & contrast

On white

3.14
#2FA731 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#2FA731 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA731
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA731#FFFFFF#000000##000000
##2FA7311.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971F
Deuteranopia (green-blind)
#9D8E3D
Tritanopia (blue-blind)
#02A28F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #2fa731;
/* rgb */ color: rgb(47, 167, 49);
/* oklch */ color: oklch(64.0% 0.188 143.2);
Tailwind
colors: {
  custom: {
    50: '#7ac270',
    500: '#2fa731',
    950: '#000000',
  },
}
SCSS
$custom: #2fa731;
$custom-light: #7ac270;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa731",
  "rgb": {
    "r": 47,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 121,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63952,
    "c": 0.18797,
    "h": 143.2
  },
  "luminance": 0.28464
}

Semantic roles & 50–950 ramp

primary
#2FA731
secondary
#C171C0
accent
#48DDDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #2FA731

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

Preview Lab → · Contrast checker → · Palette generator →

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