#2CB542#2CB542

#2CB542 is a light, vivid green. Relative luminance 0.340; OKLCH L 67.8% C 0.193 H 145.3°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2CB542
RGBrgb(44, 181, 66)
HSLhsl(130, 61%, 44%)
HSVhsv(130, 76%, 71%)
CMYKcmyk(75.7%, 0%, 63.5%, 29%)
CIE-LABlab(64.94, -58.89, 47.17)
CIE-LCHlch(64.94, 75.45, 141.31°)
OKLaboklab(67.83% -0.1589 0.1101)
OKLCHoklch(67.83% 0.193 145.3)
XYZxyz(18.5446, 33.9744, 10.7336)
Luminance0.3398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2CB542 #B52C9F
analogous
#5BB52C #2CB542 #2CB587
triadic
#2CB542 #422CB5 #B5422C
tetradic
#2CB542 #2C5BB5 #B52C9F #B5872C
square
#2CB542 #2C5BB5 #B52C9F #B5872C
split-complementary
#2CB542 #872CB5 #B52C5B
monochromatic
#14531E #208430 #2CB542 #4BD361 #7CDF8C

Accessibility & contrast

On white

2.69
#2CB542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#2CB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2CB542
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2CB542#FFFFFF#000000##000000
##2CB5421.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#A9994C
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #2cb542;
/* rgb */ color: rgb(44, 181, 66);
/* oklch */ color: oklch(67.8% 0.193 145.3);
Tailwind
colors: {
  custom: {
    50: '#7bcc7b',
    500: '#2cb542',
    950: '#000000',
  },
}
SCSS
$custom: #2cb542;
$custom-light: #7bcc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2cb542",
  "rgb": {
    "r": 44,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 129.635,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6783,
    "c": 0.19329,
    "h": 145.3
  },
  "luminance": 0.33977
}

Semantic roles & 50–950 ramp

primary
#2CB542
secondary
#C875BA
accent
#44CAE4
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2CB542

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

Preview Lab → · Contrast checker → · Palette generator →

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