#2FAF50#2FAF50

#2FAF50 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.5% C 0.174 H 147.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2FAF50
RGBrgb(47, 175, 80)
HSLhsl(135, 58%, 44%)
HSVhsv(135, 73%, 69%)
CMYKcmyk(73.1%, 0%, 54.3%, 31.4%)
CIE-LABlab(63.21, -54.57, 38.63)
CIE-LCHlch(63.21, 66.86, 144.71°)
OKLaboklab(66.46% -0.1469 0.0927)
OKLCHoklch(66.46% 0.174 147.8)
XYZxyz(17.9489, 31.8414, 12.7879)
Luminance0.3184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FAF50 #AF2F8E
analogous
#4EAF2F #2FAF50 #2FAF90
triadic
#2FAF50 #502FAF #AF502F
tetradic
#2FAF50 #2F4EAF #AF2F8E #AF902F
square
#2FAF50 #2F4EAF #AF2F8E #AF902F
split-complementary
#2FAF50 #902FAF #AF2F4E
monochromatic
#154F24 #227F3A #2FAF50 #4CCF6E #7CDC95

Accessibility & contrast

On white

2.85
#2FAF50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#2FAF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FAF50
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FAF50#FFFFFF#000000##000000
##2FAF501.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F47
Deuteranopia (green-blind)
#A29557
Tritanopia (blue-blind)
#00AB9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2faf50;
/* rgb */ color: rgb(47, 175, 80);
/* oklch */ color: oklch(66.5% 0.174 147.8);
Tailwind
colors: {
  custom: {
    50: '#7ac883',
    500: '#2faf50',
    950: '#000000',
  },
}
SCSS
$custom: #2faf50;
$custom-light: #7ac883;
$custom-dark: #000000;
JSON
{
  "hex": "#2faf50",
  "rgb": {
    "r": 47,
    "g": 175,
    "b": 80
  },
  "hsl": {
    "h": 135.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66461,
    "c": 0.17367,
    "h": 147.8
  },
  "luminance": 0.31843
}

Semantic roles & 50–950 ramp

primary
#2FAF50
secondary
#C475B0
accent
#47B9E1
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #2FAF50

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

Preview Lab → · Contrast checker → · Palette generator →

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