#2CAF40#2CAF40

#2CAF40 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.188 H 145.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2CAF40
RGBrgb(44, 175, 64)
HSLhsl(129, 60%, 43%)
HSVhsv(129, 75%, 69%)
CMYKcmyk(74.9%, 0%, 63.4%, 31.4%)
CIE-LABlab(62.98, -57.11, 45.85)
CIE-LCHlch(62.98, 73.24, 141.24°)
OKLaboklab(66.2% -0.1541 0.1071)
OKLCHoklch(66.2% 0.188 145.2)
XYZxyz(17.2929, 31.5636, 10.0305)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CAF40 #AF2C9B
analogous
#5AAF2C #2CAF40 #2CAF81
triadic
#2CAF40 #402CAF #AF402C
tetradic
#2CAF40 #2C5AAF #AF2C9B #AF812C
square
#2CAF40 #2C5AAF #AF2C9B #AF812C
split-complementary
#2CAF40 #812CAF #AF2C5A
monochromatic
#134D1C #207E2E #2CAF40 #47D15C #78DD88

Accessibility & contrast

On white

2.87
#2CAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#2CAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CAF40
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CAF40#FFFFFF#000000##000000
##2CAF401.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#A3944A
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2caf40;
/* rgb */ color: rgb(44, 175, 64);
/* oklch */ color: oklch(66.2% 0.188 145.2);
Tailwind
colors: {
  custom: {
    50: '#7ac879',
    500: '#2caf40',
    950: '#000000',
  },
}
SCSS
$custom: #2caf40;
$custom-light: #7ac879;
$custom-dark: #000000;
JSON
{
  "hex": "#2caf40",
  "rgb": {
    "r": 44,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 129.16,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.18767,
    "h": 145.2
  },
  "luminance": 0.31566
}

Semantic roles & 50–950 ramp

primary
#2CAF40
secondary
#C572B8
accent
#45CBE3
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2CAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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