#2CB040#2CB040

#2CB040 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.5% C 0.189 H 145.2°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2CB040
RGBrgb(44, 176, 64)
HSLhsl(129, 60%, 43%)
HSVhsv(129, 75%, 69%)
CMYKcmyk(75%, 0%, 63.6%, 31%)
CIE-LABlab(63.31, -57.45, 46.21)
CIE-LCHlch(63.31, 73.73, 141.19°)
OKLaboklab(66.47% -0.155 0.1078)
OKLCHoklch(66.47% 0.189 145.2)
XYZxyz(17.4882, 31.9543, 10.0956)
Luminance0.3196 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CB040 #B02C9C
analogous
#5AB02C #2CB040 #2CB082
triadic
#2CB040 #402CB0 #B0402C
tetradic
#2CB040 #2C5AB0 #B02C9C #B0822C
square
#2CB040 #2C5AB0 #B02C9C #B0822C
split-complementary
#2CB040 #822CB0 #B02C5A
monochromatic
#144E1C #207F2E #2CB040 #48D15D #79DD88

Accessibility & contrast

On white

2.84
#2CB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#2CB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CB040
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CB040#FFFFFF#000000##000000
##2CB0401.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A033
Deuteranopia (green-blind)
#A4954A
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2cb040;
/* rgb */ color: rgb(44, 176, 64);
/* oklch */ color: oklch(66.5% 0.189 145.2);
Tailwind
colors: {
  custom: {
    50: '#7ac979',
    500: '#2cb040',
    950: '#000000',
  },
}
SCSS
$custom: #2cb040;
$custom-light: #7ac979;
$custom-dark: #000000;
JSON
{
  "hex": "#2cb040",
  "rgb": {
    "r": 44,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 129.091,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66466,
    "c": 0.18886,
    "h": 145.2
  },
  "luminance": 0.31956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2CB040

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

Preview Lab → · Contrast checker → · Palette generator →

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