#2FA128#2FA128

#2FA128 is a light, vivid green. Relative luminance 0.262; OKLCH L 62.2% C 0.187 H 142.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2FA128
RGBrgb(47, 161, 40)
HSLhsl(117, 60%, 39%)
HSVhsv(117, 75%, 63%)
CMYKcmyk(70.8%, 0%, 75.2%, 36.9%)
CIE-LABlab(58.27, -54.20, 50.62)
CIE-LCHlch(58.27, 74.16, 136.96°)
OKLaboklab(62.24% -0.1475 0.1143)
OKLCHoklch(62.24% 0.187 142.2)
XYZxyz(14.2993, 26.2457, 6.3194)
Luminance0.2625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FA128 #9A28A1
analogous
#6CA128 #2FA128 #28A15E
triadic
#2FA128 #282FA1 #A1282F
tetradic
#2FA128 #286CA1 #9A28A1 #A15E28
square
#2FA128 #286CA1 #9A28A1 #A15E28
split-complementary
#2FA128 #5E28A1 #A1286C
monochromatic
#123F10 #21701C #2FA128 #41CE39 #70DA6A

Accessibility & contrast

On white

3.36
#2FA128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#2FA128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2FA128
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FA128#FFFFFF#000000##000000
##2FA1281.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59210
Deuteranopia (green-blind)
#988935
Tritanopia (blue-blind)
#0E9C8A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2fa128;
/* rgb */ color: rgb(47, 161, 40);
/* oklch */ color: oklch(62.2% 0.187 142.2);
Tailwind
colors: {
  custom: {
    50: '#79be6a',
    500: '#2fa128',
    950: '#000000',
  },
}
SCSS
$custom: #2fa128;
$custom-light: #79be6a;
$custom-dark: #000000;
JSON
{
  "hex": "#2fa128",
  "rgb": {
    "r": 47,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 116.529,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.62244,
    "c": 0.18657,
    "h": 142.2
  },
  "luminance": 0.26247
}

Semantic roles & 50–950 ramp

primary
#2FA128
secondary
#BB65C0
accent
#44E3DA
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2FA128

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

Preview Lab → · Contrast checker → · Palette generator →

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