#2CB042#2CB042

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

Color values

HEX#2CB042
RGBrgb(44, 176, 66)
HSLhsl(130, 60%, 43%)
HSVhsv(130, 75%, 69%)
CMYKcmyk(75%, 0%, 62.5%, 31%)
CIE-LABlab(63.32, -57.22, 45.34)
CIE-LCHlch(63.32, 73.00, 141.60°)
OKLaboklab(66.49% -0.1543 0.1062)
OKLCHoklch(66.49% 0.187 145.5)
XYZxyz(17.5462, 31.9775, 10.4007)
Luminance0.3198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CB042 #B02C9A
analogous
#58B02C #2CB042 #2CB084
triadic
#2CB042 #422CB0 #B0422C
tetradic
#2CB042 #2C58B0 #B02C9A #B0842C
square
#2CB042 #2C58B0 #B02C9A #B0842C
split-complementary
#2CB042 #842CB0 #B02C58
monochromatic
#144E1D #207F30 #2CB042 #48D15F #79DD8A

Accessibility & contrast

On white

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

On black

7.40
#2CB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CB042
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CB042#FFFFFF#000000##000000
##2CB0421.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A036
Deuteranopia (green-blind)
#A4954B
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #2cb042;
/* rgb */ color: rgb(44, 176, 66);
/* oklch */ color: oklch(66.5% 0.187 145.5);
Tailwind
colors: {
  custom: {
    50: '#7ac97a',
    500: '#2cb042',
    950: '#000000',
  },
}
SCSS
$custom: #2cb042;
$custom-light: #7ac97a;
$custom-dark: #000000;
JSON
{
  "hex": "#2cb042",
  "rgb": {
    "r": 44,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 130,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66488,
    "c": 0.18733,
    "h": 145.5
  },
  "luminance": 0.31979
}

Semantic roles & 50–950 ramp

primary
#2CB042
secondary
#C672B8
accent
#45C9E3
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2CB042

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

Preview Lab → · Contrast checker → · Palette generator →

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