#2FB138#2FB138

#2FB138 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.7% C 0.195 H 143.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2FB138
RGBrgb(47, 177, 56)
HSLhsl(124, 58%, 44%)
HSVhsv(124, 73%, 69%)
CMYKcmyk(73.4%, 0%, 68.4%, 30.6%)
CIE-LABlab(63.62, -58.15, 49.98)
CIE-LCHlch(63.62, 76.67, 139.32°)
OKLaboklab(66.72% -0.1574 0.1149)
OKLCHoklch(66.72% 0.195 143.9)
XYZxyz(17.6071, 32.3321, 9.0534)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB138 #B12FA8
analogous
#67B12F #2FB138 #2FB179
triadic
#2FB138 #382FB1 #B1382F
tetradic
#2FB138 #2F67B1 #B12FA8 #B1792F
square
#2FB138 #2F67B1 #B12FA8 #B1792F
split-complementary
#2FB138 #792FB1 #B12F67
monochromatic
#155019 #228129 #2FB138 #4DD056 #7EDD84

Accessibility & contrast

On white

2.81
#2FB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#2FB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB138
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB138#FFFFFF#000000##000000
##2FB1381.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A027
Deuteranopia (green-blind)
#A69643
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2fb138;
/* rgb */ color: rgb(47, 177, 56);
/* oklch */ color: oklch(66.7% 0.195 143.9);
Tailwind
colors: {
  custom: {
    50: '#7cc975',
    500: '#2fb138',
    950: '#000000',
  },
}
SCSS
$custom: #2fb138;
$custom-light: #7cc975;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb138",
  "rgb": {
    "r": 47,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 124.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66718,
    "c": 0.19492,
    "h": 143.9
  },
  "luminance": 0.32334
}

Semantic roles & 50–950 ramp

primary
#2FB138
secondary
#C576C0
accent
#47D7E1
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FB138

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

Preview Lab → · Contrast checker → · Palette generator →

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