#2FB240#2FB240

#2FB240 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.190 H 144.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2FB240
RGBrgb(47, 178, 64)
HSLhsl(128, 58%, 44%)
HSVhsv(128, 74%, 70%)
CMYKcmyk(73.6%, 0%, 64%, 30.2%)
CIE-LABlab(64.01, -57.65, 47.01)
CIE-LCHlch(64.01, 74.39, 140.80°)
OKLaboklab(67.07% -0.1557 0.1095)
OKLCHoklch(67.07% 0.19 144.9)
XYZxyz(18.0169, 32.8132, 10.2336)
Luminance0.3281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2FB240 #B22FA1
analogous
#60B22F #2FB240 #2FB282
triadic
#2FB240 #402FB2 #B2402F
tetradic
#2FB240 #2F60B2 #B22FA1 #B2822F
square
#2FB240 #2F60B2 #B22FA1 #B2822F
split-complementary
#2FB240 #822FB2 #B22F60
monochromatic
#15511D #22822F #2FB240 #4ED05F #7EDD8B

Accessibility & contrast

On white

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

On black

7.56
#2FB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2FB240
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2FB240#FFFFFF#000000##000000
##2FB2401.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A132
Deuteranopia (green-blind)
#A6974A
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2fb240;
/* rgb */ color: rgb(47, 178, 64);
/* oklch */ color: oklch(67.1% 0.190 144.9);
Tailwind
colors: {
  custom: {
    50: '#7cca79',
    500: '#2fb240',
    950: '#000000',
  },
}
SCSS
$custom: #2fb240;
$custom-light: #7cca79;
$custom-dark: #000000;
JSON
{
  "hex": "#2fb240",
  "rgb": {
    "r": 47,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 127.786,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67066,
    "c": 0.19038,
    "h": 144.9
  },
  "luminance": 0.32815
}

Semantic roles & 50–950 ramp

primary
#2FB240
secondary
#C677BC
accent
#46CDE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2FB240

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

Preview Lab → · Contrast checker → · Palette generator →

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