#2FB871#2FB871

#2FB871 is a light, vivid green. Relative luminance 0.361; OKLCH L 69.4% C 0.155 H 155.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2FB871
RGBrgb(47, 184, 113)
HSLhsl(149, 59%, 45%)
HSVhsv(149, 74%, 72%)
CMYKcmyk(74.5%, 0%, 38.6%, 27.8%)
CIE-LABlab(66.58, -52.27, 25.98)
CIE-LCHlch(66.58, 58.37, 153.57°)
OKLaboklab(69.4% -0.1411 0.0649)
OKLCHoklch(69.4% 0.155 155.3)
XYZxyz(21.2914, 36.0751, 21.4607)
Luminance0.3608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB871 #B82F76
analogous
#32B82F #2FB871 #2FB8B5
triadic
#2FB871 #712FB8 #B8712F
tetradic
#2FB871 #2F32B8 #B82F76 #B8B52F
square
#2FB871 #2F32B8 #B82F76 #B8B52F
split-complementary
#2FB871 #B52FB8 #B82F32
monochromatic
#165735 #238753 #2FB871 #52D390 #82DFAF

Accessibility & contrast

On white

2.56
#2FB871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#2FB871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB871
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB871#FFFFFF#000000##000000
##2FB8711.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A96C
Deuteranopia (green-blind)
#A79D76
Tritanopia (blue-blind)
#00B6A6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #2fb871;
/* rgb */ color: rgb(47, 184, 113);
/* oklch */ color: oklch(69.4% 0.155 155.3);
Tailwind
colors: {
  custom: {
    50: '#7cce9a',
    500: '#2fb871',
    950: '#000000',
  },
}
SCSS
$custom: #2fb871;
$custom-light: #7cce9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb871",
  "rgb": {
    "r": 47,
    "g": 184,
    "b": 113
  },
  "hsl": {
    "h": 148.905,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.694,
    "c": 0.1553,
    "h": 155.3
  },
  "luminance": 0.36078
}

Semantic roles & 50–950 ramp

primary
#2FB871
secondary
#C87BA3
accent
#4597E2
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #2FB871

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

Preview Lab → · Contrast checker → · Palette generator →

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