#2FB751#2FB751

#2FB751 is a light, vivid green. Relative luminance 0.351; OKLCH L 68.6% C 0.183 H 147.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2FB751
RGBrgb(47, 183, 81)
HSLhsl(135, 59%, 45%)
HSVhsv(135, 74%, 72%)
CMYKcmyk(74.3%, 0%, 55.7%, 28.2%)
CIE-LABlab(65.80, -57.23, 41.26)
CIE-LCHlch(65.80, 70.55, 144.21°)
OKLaboklab(68.61% -0.154 0.0985)
OKLCHoklch(68.61% 0.183 147.4)
XYZxyz(19.5895, 35.0631, 13.5184)
Luminance0.3507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB751 #B72F95
analogous
#51B72F #2FB751 #2FB795
triadic
#2FB751 #512FB7 #B7512F
tetradic
#2FB751 #2F51B7 #B72F95 #B7952F
square
#2FB751 #2F51B7 #B72F95 #B7952F
split-complementary
#2FB751 #952FB7 #B72F51
monochromatic
#165626 #22863B #2FB751 #51D271 #82DF99

Accessibility & contrast

On white

2.62
#2FB751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#2FB751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB751
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB751#FFFFFF#000000##000000
##2FB7511.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A647
Deuteranopia (green-blind)
#A99C59
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2fb751;
/* rgb */ color: rgb(47, 183, 81);
/* oklch */ color: oklch(68.6% 0.183 147.4);
Tailwind
colors: {
  custom: {
    50: '#7cce84',
    500: '#2fb751',
    950: '#000000',
  },
}
SCSS
$custom: #2fb751;
$custom-light: #7cce84;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb751",
  "rgb": {
    "r": 47,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 135,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68606,
    "c": 0.18285,
    "h": 147.4
  },
  "luminance": 0.35065
}

Semantic roles & 50–950 ramp

primary
#2FB751
secondary
#C87AB4
accent
#45BBE2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #2FB751

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

Preview Lab → · Contrast checker → · Palette generator →

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