#2FB771#2FB771

#2FB771 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.1% C 0.154 H 155.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2FB771
RGBrgb(47, 183, 113)
HSLhsl(149, 59%, 45%)
HSVhsv(149, 74%, 72%)
CMYKcmyk(74.3%, 0%, 38.3%, 28.2%)
CIE-LABlab(66.26, -51.89, 25.56)
CIE-LCHlch(66.26, 57.85, 153.78°)
OKLaboklab(69.14% -0.1401 0.0639)
OKLCHoklch(69.14% 0.154 155.5)
XYZxyz(21.0844, 35.6611, 21.3917)
Luminance0.3566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB771 #B72F75
analogous
#31B72F #2FB771 #2FB7B5
triadic
#2FB771 #712FB7 #B7712F
tetradic
#2FB771 #2F31B7 #B72F75 #B7B52F
square
#2FB771 #2F31B7 #B72F75 #B7B52F
split-complementary
#2FB771 #B52FB7 #B72F31
monochromatic
#165635 #228653 #2FB771 #51D290 #82DFAF

Accessibility & contrast

On white

2.58
#2FB771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#2FB771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB771
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB771#FFFFFF#000000##000000
##2FB7711.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86C
Deuteranopia (green-blind)
#A69C76
Tritanopia (blue-blind)
#00B5A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #2fb771;
/* rgb */ color: rgb(47, 183, 113);
/* oklch */ color: oklch(69.1% 0.154 155.5);
Tailwind
colors: {
  custom: {
    50: '#7bce9a',
    500: '#2fb771',
    950: '#000000',
  },
}
SCSS
$custom: #2fb771;
$custom-light: #7bce9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb771",
  "rgb": {
    "r": 47,
    "g": 183,
    "b": 113
  },
  "hsl": {
    "h": 149.118,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69139,
    "c": 0.15398,
    "h": 155.5
  },
  "luminance": 0.35664
}

Semantic roles & 50–950 ramp

primary
#2FB771
secondary
#C87AA2
accent
#4596E2
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #2FB771

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

Preview Lab → · Contrast checker → · Palette generator →

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