#2DC252#2DC252

#2DC252 is a light, vivid green. Relative luminance 0.398; OKLCH L 71.5% C 0.196 H 147.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2DC252
RGBrgb(45, 194, 82)
HSLhsl(135, 62%, 47%)
HSVhsv(135, 77%, 76%)
CMYKcmyk(76.8%, 0%, 57.7%, 23.9%)
CIE-LABlab(69.29, -61.12, 44.92)
CIE-LCHlch(69.29, 75.85, 143.69°)
OKLaboklab(71.49% -0.1645 0.1066)
OKLCHoklch(71.49% 0.196 147)
XYZxyz(21.8953, 39.7481, 14.4992)
Luminance0.3975 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DC252 #C22D9D
analogous
#53C22D #2DC252 #2DC29C
triadic
#2DC252 #522DC2 #C2522D
tetradic
#2DC252 #2D53C2 #C22D9D #C29C2D
square
#2DC252 #2D53C2 #C22D9D #C29C2D
split-complementary
#2DC252 #9C2DC2 #C22D53
monochromatic
#165F28 #21903D #2DC252 #55D775 #86E39D

Accessibility & contrast

On white

2.35
#2DC252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#2DC252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2DC252
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DC252#FFFFFF#000000##000000
##2DC2521.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B047
Deuteranopia (green-blind)
#B4A55B
Tritanopia (blue-blind)
#00BEA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #2dc252;
/* rgb */ color: rgb(45, 194, 82);
/* oklch */ color: oklch(71.5% 0.196 147.0);
Tailwind
colors: {
  custom: {
    50: '#7ed686',
    500: '#2dc252',
    950: '#000000',
  },
}
SCSS
$custom: #2dc252;
$custom-light: #7ed686;
$custom-dark: #000000;
JSON
{
  "hex": "#2dc252",
  "rgb": {
    "r": 45,
    "g": 194,
    "b": 82
  },
  "hsl": {
    "h": 134.899,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71493,
    "c": 0.19598,
    "h": 147
  },
  "luminance": 0.39751
}

Semantic roles & 50–950 ramp

primary
#2DC252
secondary
#CD7EB9
accent
#42BDE5
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #2DC252

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

Preview Lab → · Contrast checker → · Palette generator →

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