#2DB42D#2DB42D

#2DB42D is a light, highly saturated green. Relative luminance 0.334; OKLCH L 67.4% C 0.206 H 142.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2DB42D
RGBrgb(45, 180, 45)
HSLhsl(120, 60%, 44%)
HSVhsv(120, 75%, 71%)
CMYKcmyk(75%, 0%, 75%, 29.4%)
CIE-LABlab(64.47, -60.40, 55.03)
CIE-LCHlch(64.47, 81.71, 137.66°)
OKLaboklab(67.39% -0.164 0.1242)
OKLCHoklch(67.39% 0.206 142.9)
XYZxyz(17.8760, 33.3878, 7.9845)
Luminance0.3339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DB42D #B42DB4
analogous
#71B42D #2DB42D #2DB471
triadic
#2DB42D #2D2DB4 #B42D2D
tetradic
#2DB42D #2D71B4 #B42DB4 #B4712D
square
#2DB42D #2D71B4 #B42DB4 #B4712D
split-complementary
#2DB42D #712DB4 #B42D71
monochromatic
#155215 #218321 #2DB42D #4CD24C #7DDE7D

Accessibility & contrast

On white

2.74
#2DB42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#2DB42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2DB42D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DB42D#FFFFFF#000000##000000
##2DB42D1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A311
Deuteranopia (green-blind)
#A9983C
Tritanopia (blue-blind)
#00AF9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #2db42d;
/* rgb */ color: rgb(45, 180, 45);
/* oklch */ color: oklch(67.4% 0.206 142.9);
Tailwind
colors: {
  custom: {
    50: '#7ccc6f',
    500: '#2db42d',
    950: '#000000',
  },
}
SCSS
$custom: #2db42d;
$custom-light: #7ccc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2db42d",
  "rgb": {
    "r": 45,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 120,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67394,
    "c": 0.20565,
    "h": 142.9
  },
  "luminance": 0.3339
}

Semantic roles & 50–950 ramp

primary
#2DB42D
secondary
#C776C7
accent
#45E3E3
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2DB42D

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

Preview Lab → · Contrast checker → · Palette generator →

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