#2FB158#2FB158

#2FB158 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.169 H 149.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2FB158
RGBrgb(47, 177, 88)
HSLhsl(139, 58%, 44%)
HSVhsv(139, 73%, 69%)
CMYKcmyk(73.4%, 0%, 50.3%, 30.6%)
CIE-LABlab(63.96, -54.08, 35.57)
CIE-LCHlch(63.96, 64.73, 146.67°)
OKLaboklab(67.11% -0.1455 0.0863)
OKLCHoklch(67.11% 0.169 149.3)
XYZxyz(18.6544, 32.7511, 14.5691)
Luminance0.3275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB158 #B12F88
analogous
#47B12F #2FB158 #2FB199
triadic
#2FB158 #582FB1 #B1582F
tetradic
#2FB158 #2F47B1 #B12F88 #B1992F
square
#2FB158 #2F47B1 #B12F88 #B1992F
split-complementary
#2FB158 #992FB1 #B12F47
monochromatic
#155028 #228140 #2FB158 #4DD077 #7EDD9C

Accessibility & contrast

On white

2.78
#2FB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#2FB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB158
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB158#FFFFFF#000000##000000
##2FB1581.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A151
Deuteranopia (green-blind)
#A3975E
Tritanopia (blue-blind)
#00AE9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2fb158;
/* rgb */ color: rgb(47, 177, 88);
/* oklch */ color: oklch(67.1% 0.169 149.3);
Tailwind
colors: {
  custom: {
    50: '#7ac989',
    500: '#2fb158',
    950: '#000000',
  },
}
SCSS
$custom: #2fb158;
$custom-light: #7ac989;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb158",
  "rgb": {
    "r": 47,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 138.923,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67112,
    "c": 0.16913,
    "h": 149.3
  },
  "luminance": 0.32753
}

Semantic roles & 50–950 ramp

primary
#2FB158
secondary
#C576AC
accent
#47B0E1
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #2FB158

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

Preview Lab → · Contrast checker → · Palette generator →

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