#2FB128#2FB128

#2FB128 is a light, highly saturated green. Relative luminance 0.322; OKLCH L 66.6% C 0.204 H 142.3°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2FB128
RGBrgb(47, 177, 40)
HSLhsl(117, 63%, 43%)
HSVhsv(117, 77%, 69%)
CMYKcmyk(73.4%, 0%, 77.4%, 30.6%)
CIE-LABlab(63.51, -59.47, 55.79)
CIE-LCHlch(63.51, 81.55, 136.83°)
OKLaboklab(66.59% -0.1618 0.125)
OKLCHoklch(66.59% 0.204 142.3)
XYZxyz(17.2764, 32.1999, 7.3118)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB128 #AA28B1
analogous
#74B128 #2FB128 #28B165
triadic
#2FB128 #282FB1 #B1282F
tetradic
#2FB128 #2874B1 #AA28B1 #B16528
square
#2FB128 #2874B1 #AA28B1 #B16528
split-complementary
#2FB128 #6528B1 #B12874
monochromatic
#144D11 #227F1D #2FB128 #49D442 #79E074

Accessibility & contrast

On white

2.82
#2FB128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#2FB128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB128
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB128#FFFFFF#000000##000000
##2FB1281.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#00AC97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2fb128;
/* rgb */ color: rgb(47, 177, 40);
/* oklch */ color: oklch(66.6% 0.204 142.3);
Tailwind
colors: {
  custom: {
    50: '#7dc96c',
    500: '#2fb128',
    950: '#000000',
  },
}
SCSS
$custom: #2fb128;
$custom-light: #7dc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb128",
  "rgb": {
    "r": 47,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 116.934,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66593,
    "c": 0.20446,
    "h": 142.3
  },
  "luminance": 0.32202
}

Semantic roles & 50–950 ramp

primary
#2FB128
secondary
#C26EC7
accent
#42E6DE
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #2FB128

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

Preview Lab → · Contrast checker → · Palette generator →

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