#2FA521#2FA521

#2FA521 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.3% C 0.195 H 141.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2FA521
RGBrgb(47, 165, 33)
HSLhsl(114, 67%, 39%)
HSVhsv(114, 80%, 65%)
CMYKcmyk(71.5%, 0%, 80%, 35.3%)
CIE-LABlab(59.55, -56.02, 54.21)
CIE-LCHlch(59.55, 77.96, 135.94°)
OKLaboklab(63.29% -0.1528 0.1208)
OKLCHoklch(63.29% 0.195 141.7)
XYZxyz(14.9011, 27.6228, 5.9850)
Luminance0.2762 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA521 #9721A5
analogous
#71A521 #2FA521 #21A555
triadic
#2FA521 #212FA5 #A5212F
tetradic
#2FA521 #2171A5 #9721A5 #A55521
square
#2FA521 #2171A5 #9721A5 #A55521
split-complementary
#2FA521 #5521A5 #A52171
monochromatic
#123F0D #207217 #2FA521 #40D52E #6EDF61

Accessibility & contrast

On white

3.22
#2FA521 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#2FA521 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA521
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA521#FFFFFF#000000##000000
##2FA5211.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#0DA08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2fa521;
/* rgb */ color: rgb(47, 165, 33);
/* oklch */ color: oklch(63.3% 0.195 141.7);
Tailwind
colors: {
  custom: {
    50: '#7ac168',
    500: '#2fa521',
    950: '#000000',
  },
}
SCSS
$custom: #2fa521;
$custom-light: #7ac168;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa521",
  "rgb": {
    "r": 47,
    "g": 165,
    "b": 33
  },
  "hsl": {
    "h": 113.636,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63291,
    "c": 0.19474,
    "h": 141.7
  },
  "luminance": 0.27624
}

Semantic roles & 50–950 ramp

primary
#2FA521
secondary
#B95EC4
accent
#3EEAD7
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #2FA521

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

Preview Lab → · Contrast checker → · Palette generator →

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