#2CAF42#2CAF42

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

Color values

HEX#2CAF42
RGBrgb(44, 175, 66)
HSLhsl(130, 60%, 43%)
HSVhsv(130, 75%, 69%)
CMYKcmyk(74.9%, 0%, 62.3%, 31.4%)
CIE-LABlab(63.00, -56.88, 44.97)
CIE-LCHlch(63.00, 72.51, 141.67°)
OKLaboklab(66.22% -0.1534 0.1054)
OKLCHoklch(66.22% 0.186 145.5)
XYZxyz(17.3508, 31.5868, 10.3356)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CAF42 #AF2C99
analogous
#58AF2C #2CAF42 #2CAF83
triadic
#2CAF42 #422CAF #AF422C
tetradic
#2CAF42 #2C58AF #AF2C99 #AF832C
square
#2CAF42 #2C58AF #AF2C99 #AF832C
split-complementary
#2CAF42 #832CAF #AF2C58
monochromatic
#134D1D #207E30 #2CAF42 #47D15E #78DD89

Accessibility & contrast

On white

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

On black

7.32
#2CAF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CAF42
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CAF42#FFFFFF#000000##000000
##2CAF421.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2caf42;
/* rgb */ color: rgb(44, 175, 66);
/* oklch */ color: oklch(66.2% 0.186 145.5);
Tailwind
colors: {
  custom: {
    50: '#7ac87a',
    500: '#2caf42',
    950: '#000000',
  },
}
SCSS
$custom: #2caf42;
$custom-light: #7ac87a;
$custom-dark: #000000;
JSON
{
  "hex": "#2caf42",
  "rgb": {
    "r": 44,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 130.076,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66219,
    "c": 0.18613,
    "h": 145.5
  },
  "luminance": 0.31589
}

Semantic roles & 50–950 ramp

primary
#2CAF42
secondary
#C572B7
accent
#45C8E3
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2CAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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