#2FB870#2FB870

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

Color values

HEX#2FB870
RGBrgb(47, 184, 112)
HSLhsl(148, 59%, 45%)
HSVhsv(148, 74%, 72%)
CMYKcmyk(74.5%, 0%, 39.1%, 27.8%)
CIE-LABlab(66.56, -52.47, 26.49)
CIE-LCHlch(66.56, 58.77, 153.21°)
OKLaboklab(69.38% -0.1415 0.0661)
OKLCHoklch(69.38% 0.156 155)
XYZxyz(21.2354, 36.0527, 21.1658)
Luminance0.3605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB870 #B82F77
analogous
#33B82F #2FB870 #2FB8B4
triadic
#2FB870 #702FB8 #B8702F
tetradic
#2FB870 #2F33B8 #B82F77 #B8B42F
square
#2FB870 #2F33B8 #B82F77 #B8B42F
split-complementary
#2FB870 #B42FB8 #B82F33
monochromatic
#165735 #238752 #2FB870 #52D38F #82DFAE

Accessibility & contrast

On white

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

On black

8.21
#2FB870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB870
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB870#FFFFFF#000000##000000
##2FB8701.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2fb870;
/* rgb */ color: rgb(47, 184, 112);
/* oklch */ color: oklch(69.4% 0.156 155.0);
Tailwind
colors: {
  custom: {
    50: '#7cce99',
    500: '#2fb870',
    950: '#000000',
  },
}
SCSS
$custom: #2fb870;
$custom-light: #7cce99;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb870",
  "rgb": {
    "r": 47,
    "g": 184,
    "b": 112
  },
  "hsl": {
    "h": 148.467,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69381,
    "c": 0.15621,
    "h": 155
  },
  "luminance": 0.36055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2FB870

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

Preview Lab → · Contrast checker → · Palette generator →

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