#2FB951#2FB951

#2FB951 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.1% C 0.185 H 147.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2FB951
RGBrgb(47, 185, 81)
HSLhsl(135, 59%, 45%)
HSVhsv(135, 75%, 73%)
CMYKcmyk(74.6%, 0%, 56.2%, 27.5%)
CIE-LABlab(66.44, -57.92, 42.02)
CIE-LCHlch(66.44, 71.56, 144.04°)
OKLaboklab(69.14% -0.1559 0.1002)
OKLCHoklch(69.14% 0.185 147.3)
XYZxyz(20.0049, 35.8940, 13.6569)
Luminance0.3590 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB951 #B92F97
analogous
#52B92F #2FB951 #2FB996
triadic
#2FB951 #512FB9 #B9512F
tetradic
#2FB951 #2F52B9 #B92F97 #B9962F
square
#2FB951 #2F52B9 #B92F97 #B9962F
split-complementary
#2FB951 #962FB9 #B92F52
monochromatic
#165726 #23883C #2FB951 #52D372 #83DF9A

Accessibility & contrast

On white

2.57
#2FB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#2FB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB951
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB951#FFFFFF#000000##000000
##2FB9511.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA847
Deuteranopia (green-blind)
#AB9D59
Tritanopia (blue-blind)
#00B5A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #2fb951;
/* rgb */ color: rgb(47, 185, 81);
/* oklch */ color: oklch(69.1% 0.185 147.3);
Tailwind
colors: {
  custom: {
    50: '#7dcf85',
    500: '#2fb951',
    950: '#000000',
  },
}
SCSS
$custom: #2fb951;
$custom-light: #7dcf85;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb951",
  "rgb": {
    "r": 47,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 134.783,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69137,
    "c": 0.18532,
    "h": 147.3
  },
  "luminance": 0.35896
}

Semantic roles & 50–950 ramp

primary
#2FB951
secondary
#C97BB6
accent
#45BCE3
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #2FB951

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

Preview Lab → · Contrast checker → · Palette generator →

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