#2FB958#2FB958

#2FB958 is a light, vivid green. Relative luminance 0.360; OKLCH L 69.2% C 0.179 H 148.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2FB958
RGBrgb(47, 185, 88)
HSLhsl(138, 59%, 45%)
HSVhsv(138, 75%, 73%)
CMYKcmyk(74.6%, 0%, 52.4%, 27.5%)
CIE-LABlab(66.52, -56.92, 38.73)
CIE-LCHlch(66.52, 68.85, 145.77°)
OKLaboklab(69.23% -0.1531 0.0934)
OKLCHoklch(69.23% 0.179 148.6)
XYZxyz(20.2811, 36.0045, 15.1113)
Luminance0.3601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB958 #B92F90
analogous
#4BB92F #2FB958 #2FB99D
triadic
#2FB958 #582FB9 #B9582F
tetradic
#2FB958 #2F4BB9 #B92F90 #B99D2F
square
#2FB958 #2F4BB9 #B92F90 #B99D2F
split-complementary
#2FB958 #9D2FB9 #B92F4B
monochromatic
#16572A #238841 #2FB958 #52D378 #83DF9E

Accessibility & contrast

On white

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

On black

8.20
#2FB958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB958
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB958#FFFFFF#000000##000000
##2FB9581.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA950
Deuteranopia (green-blind)
#AB9D5F
Tritanopia (blue-blind)
#00B5A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #2fb958;
/* rgb */ color: rgb(47, 185, 88);
/* oklch */ color: oklch(69.2% 0.179 148.6);
Tailwind
colors: {
  custom: {
    50: '#7ccf89',
    500: '#2fb958',
    950: '#000000',
  },
}
SCSS
$custom: #2fb958;
$custom-light: #7ccf89;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb958",
  "rgb": {
    "r": 47,
    "g": 185,
    "b": 88
  },
  "hsl": {
    "h": 137.826,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69234,
    "c": 0.17931,
    "h": 148.6
  },
  "luminance": 0.36007
}

Semantic roles & 50–950 ramp

primary
#2FB958
secondary
#C97BB2
accent
#45B4E3
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #2FB958

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

Preview Lab → · Contrast checker → · Palette generator →

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