#2FB157#2FB157

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

Color values

HEX#2FB157
RGBrgb(47, 177, 87)
HSLhsl(138, 58%, 44%)
HSVhsv(138, 73%, 69%)
CMYKcmyk(73.4%, 0%, 50.8%, 30.6%)
CIE-LABlab(63.95, -54.24, 36.05)
CIE-LCHlch(63.95, 65.13, 146.39°)
OKLaboklab(67.1% -0.1459 0.0873)
OKLCHoklch(67.1% 0.17 149.1)
XYZxyz(18.6132, 32.7346, 14.3524)
Luminance0.3274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB157 #B12F89
analogous
#48B12F #2FB157 #2FB198
triadic
#2FB157 #572FB1 #B1572F
tetradic
#2FB157 #2F48B1 #B12F89 #B1982F
square
#2FB157 #2F48B1 #B12F89 #B1982F
split-complementary
#2FB157 #982FB1 #B12F48
monochromatic
#155027 #22813F #2FB157 #4DD076 #7EDD9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2FB157#FFFFFF#000000##000000
##2FB1571.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)
#B2A14F
Deuteranopia (green-blind)
#A3975E
Tritanopia (blue-blind)
#00AE9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2fb157;
/* rgb */ color: rgb(47, 177, 87);
/* oklch */ color: oklch(67.1% 0.170 149.1);
Tailwind
colors: {
  custom: {
    50: '#7bc988',
    500: '#2fb157',
    950: '#000000',
  },
}
SCSS
$custom: #2fb157;
$custom-light: #7bc988;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb157",
  "rgb": {
    "r": 47,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 138.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67097,
    "c": 0.17003,
    "h": 149.1
  },
  "luminance": 0.32737
}

Semantic roles & 50–950 ramp

primary
#2FB157
secondary
#C576AD
accent
#47B2E1
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #2FB157

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

Preview Lab → · Contrast checker → · Palette generator →

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