#2FB257#2FB257

#2FB257 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.4% C 0.171 H 149.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2FB257
RGBrgb(47, 178, 87)
HSLhsl(138, 58%, 44%)
HSVhsv(138, 74%, 70%)
CMYKcmyk(73.6%, 0%, 51.1%, 30.2%)
CIE-LABlab(64.27, -54.59, 36.45)
CIE-LCHlch(64.27, 65.64, 146.27°)
OKLaboklab(67.36% -0.1468 0.0882)
OKLCHoklch(67.36% 0.171 149)
XYZxyz(18.8115, 33.1311, 14.4185)
Luminance0.3313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB257 #B22F8A
analogous
#48B22F #2FB257 #2FB299
triadic
#2FB257 #572FB2 #B2572F
tetradic
#2FB257 #2F48B2 #B22F8A #B2992F
square
#2FB257 #2F48B2 #B22F8A #B2992F
split-complementary
#2FB257 #992FB2 #B22F48
monochromatic
#155128 #22823F #2FB257 #4ED076 #7EDD9B

Accessibility & contrast

On white

2.75
#2FB257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#2FB257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB257
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB257#FFFFFF#000000##000000
##2FB2571.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24F
Deuteranopia (green-blind)
#A4985E
Tritanopia (blue-blind)
#00AF9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2fb257;
/* rgb */ color: rgb(47, 178, 87);
/* oklch */ color: oklch(67.4% 0.171 149.0);
Tailwind
colors: {
  custom: {
    50: '#7bca88',
    500: '#2fb257',
    950: '#000000',
  },
}
SCSS
$custom: #2fb257;
$custom-light: #7bca88;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb257",
  "rgb": {
    "r": 47,
    "g": 178,
    "b": 87
  },
  "hsl": {
    "h": 138.321,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67363,
    "c": 0.17131,
    "h": 149
  },
  "luminance": 0.33133
}

Semantic roles & 50–950 ramp

primary
#2FB257
secondary
#C677AE
accent
#46B2E1
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #2FB257

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

Preview Lab → · Contrast checker → · Palette generator →

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