#2FA021#2FA021

#2FA021 is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.189 H 141.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2FA021
RGBrgb(47, 160, 33)
HSLhsl(113, 66%, 38%)
HSVhsv(113, 79%, 63%)
CMYKcmyk(70.6%, 0%, 79.4%, 37.3%)
CIE-LABlab(57.90, -54.36, 52.64)
CIE-LCHlch(57.90, 75.67, 135.92°)
OKLaboklab(61.92% -0.1483 0.1175)
OKLCHoklch(61.92% 0.189 141.6)
XYZxyz(14.0168, 25.8542, 5.6902)
Luminance0.2586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA021 #9221A0
analogous
#6EA021 #2FA021 #21A053
triadic
#2FA021 #212FA0 #A0212F
tetradic
#2FA021 #216EA0 #9221A0 #A05321
square
#2FA021 #216EA0 #9221A0 #A05321
split-complementary
#2FA021 #5321A0 #A0216E
monochromatic
#113B0C #206D17 #2FA021 #3ED32B #6CDE5E

Accessibility & contrast

On white

3.40
#2FA021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#2FA021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA021
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA021#FFFFFF#000000##000000
##2FA0211.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#129B88
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2fa021;
/* rgb */ color: rgb(47, 160, 33);
/* oklch */ color: oklch(61.9% 0.189 141.6);
Tailwind
colors: {
  custom: {
    50: '#79bd67',
    500: '#2fa021',
    950: '#000000',
  },
}
SCSS
$custom: #2fa021;
$custom-light: #79bd67;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa021",
  "rgb": {
    "r": 47,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 113.386,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61923,
    "c": 0.18919,
    "h": 141.6
  },
  "luminance": 0.25856
}

Semantic roles & 50–950 ramp

primary
#2FA021
secondary
#B75BC2
accent
#3FE9D6
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2FA021

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

Preview Lab → · Contrast checker → · Palette generator →

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