#2FA821#2FA821

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

Color values

HEX#2FA821
RGBrgb(47, 168, 33)
HSLhsl(114, 67%, 39%)
HSVhsv(114, 80%, 66%)
CMYKcmyk(72%, 0%, 80.4%, 34.1%)
CIE-LABlab(60.53, -57.01, 55.14)
CIE-LCHlch(60.53, 79.31, 135.95°)
OKLaboklab(64.11% -0.1554 0.1227)
OKLCHoklch(64.11% 0.198 141.7)
XYZxyz(15.4486, 28.7177, 6.1675)
Luminance0.2872 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA821 #9A21A8
analogous
#73A821 #2FA821 #21A857
triadic
#2FA821 #212FA8 #A8212F
tetradic
#2FA821 #2173A8 #9A21A8 #A85721
square
#2FA821 #2173A8 #9A21A8 #A85721
split-complementary
#2FA821 #5721A8 #A82173
monochromatic
#12420D #217517 #2FA821 #41D630 #70E063

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FA821#FFFFFF#000000##000000
##2FA8211.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)
#9E8E31
Tritanopia (blue-blind)
#0AA38F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2fa821;
/* rgb */ color: rgb(47, 168, 33);
/* oklch */ color: oklch(64.1% 0.198 141.7);
Tailwind
colors: {
  custom: {
    50: '#7bc368',
    500: '#2fa821',
    950: '#000000',
  },
}
SCSS
$custom: #2fa821;
$custom-light: #7bc368;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa821",
  "rgb": {
    "r": 47,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 113.778,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64109,
    "c": 0.19804,
    "h": 141.7
  },
  "luminance": 0.28719
}

Semantic roles & 50–950 ramp

primary
#2FA821
secondary
#BB5FC5
accent
#3EEAD8
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2FA821

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

Preview Lab → · Contrast checker → · Palette generator →

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