#2FB970#2FB970

#2FB970 is a light, vivid green. Relative luminance 0.365; OKLCH L 69.6% C 0.158 H 154.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2FB970
RGBrgb(47, 185, 112)
HSLhsl(148, 59%, 45%)
HSVhsv(148, 75%, 73%)
CMYKcmyk(74.6%, 0%, 39.5%, 27.5%)
CIE-LABlab(66.88, -52.84, 26.91)
CIE-LCHlch(66.88, 59.30, 153.01°)
OKLaboklab(69.64% -0.1425 0.0671)
OKLCHoklch(69.64% 0.158 154.8)
XYZxyz(21.4439, 36.4696, 21.2353)
Luminance0.3647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB970 #B92F78
analogous
#33B92F #2FB970 #2FB9B5
triadic
#2FB970 #702FB9 #B9702F
tetradic
#2FB970 #2F33B9 #B92F78 #B9B52F
square
#2FB970 #2F33B9 #B92F78 #B9B52F
split-complementary
#2FB970 #B52FB9 #B92F33
monochromatic
#165735 #238852 #2FB970 #52D38F #83DFAF

Accessibility & contrast

On white

2.53
#2FB970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#2FB970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB970
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB970#FFFFFF#000000##000000
##2FB9701.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6B
Deuteranopia (green-blind)
#A89E75
Tritanopia (blue-blind)
#00B7A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #2fb970;
/* rgb */ color: rgb(47, 185, 112);
/* oklch */ color: oklch(69.6% 0.158 154.8);
Tailwind
colors: {
  custom: {
    50: '#7ccf99',
    500: '#2fb970',
    950: '#000000',
  },
}
SCSS
$custom: #2fb970;
$custom-light: #7ccf99;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb970",
  "rgb": {
    "r": 47,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 148.261,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69642,
    "c": 0.15752,
    "h": 154.8
  },
  "luminance": 0.36472
}

Semantic roles & 50–950 ramp

primary
#2FB970
secondary
#C97BA4
accent
#4598E3
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #2FB970

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

Preview Lab → · Contrast checker → · Palette generator →

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