#2FA831#2FA831

#2FA831 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.2% C 0.189 H 143.2°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#2FA831
RGBrgb(47, 168, 49)
HSLhsl(121, 56%, 42%)
HSVhsv(121, 72%, 66%)
CMYKcmyk(72%, 0%, 70.8%, 34.1%)
CIE-LABlab(60.63, -55.80, 49.63)
CIE-LCHlch(60.63, 74.68, 138.35°)
OKLaboklab(64.22% -0.1514 0.1134)
OKLCHoklch(64.22% 0.189 143.2)
XYZxyz(15.7283, 28.8296, 7.6409)
Luminance0.2883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA831 #A82FA6
analogous
#69A82F #2FA831 #2FA86E
triadic
#2FA831 #312FA8 #A8312F
tetradic
#2FA831 #2F69A8 #A82FA6 #A86E2F
square
#2FA831 #2F69A8 #A82FA6 #A86E2F
split-complementary
#2FA831 #6E2FA8 #A82F69
monochromatic
#144815 #227823 #2FA831 #48CC4A #78D97A

Accessibility & contrast

On white

3.10
#2FA831 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#2FA831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA831
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA831#FFFFFF#000000##000000
##2FA8311.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981F
Deuteranopia (green-blind)
#9E8F3D
Tritanopia (blue-blind)
#00A390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2fa831;
/* rgb */ color: rgb(47, 168, 49);
/* oklch */ color: oklch(64.2% 0.189 143.2);
Tailwind
colors: {
  custom: {
    50: '#7ac370',
    500: '#2fa831',
    950: '#000000',
  },
}
SCSS
$custom: #2fa831;
$custom-light: #7ac370;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa831",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 120.992,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64223,
    "c": 0.18912,
    "h": 143.2
  },
  "luminance": 0.28831
}

Semantic roles & 50–950 ramp

primary
#2FA831
secondary
#C171C0
accent
#48DDE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2FA831

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

Preview Lab → · Contrast checker → · Palette generator →

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