#2DB42A#2DB42A

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

Color values

HEX#2DB42A
RGBrgb(45, 180, 42)
HSLhsl(119, 62%, 44%)
HSVhsv(119, 77%, 71%)
CMYKcmyk(75%, 0%, 76.7%, 29.4%)
CIE-LABlab(64.46, -60.62, 56.04)
CIE-LCHlch(64.46, 82.56, 137.25°)
OKLaboklab(67.37% -0.1647 0.1259)
OKLCHoklch(67.37% 0.207 142.6)
XYZxyz(17.8203, 33.3655, 7.6911)
Luminance0.3337 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DB42A #B12AB4
analogous
#72B42A #2DB42A #2AB46C
triadic
#2DB42A #2A2DB4 #B42A2D
tetradic
#2DB42A #2A72B4 #B12AB4 #B46C2A
square
#2DB42A #2A72B4 #B12AB4 #B46C2A
split-complementary
#2DB42A #6C2AB4 #B42A72
monochromatic
#145113 #21821E #2DB42A #4AD447 #7BE079

Accessibility & contrast

On white

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

On black

7.67
#2DB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2DB42A
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DB42A#FFFFFF#000000##000000
##2DB42A1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2db42a;
/* rgb */ color: rgb(45, 180, 42);
/* oklch */ color: oklch(67.4% 0.207 142.6);
Tailwind
colors: {
  custom: {
    50: '#7ccc6e',
    500: '#2db42a',
    950: '#000000',
  },
}
SCSS
$custom: #2db42a;
$custom-light: #7ccc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2db42a",
  "rgb": {
    "r": 45,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 118.696,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67373,
    "c": 0.20727,
    "h": 142.6
  },
  "luminance": 0.33368
}

Semantic roles & 50–950 ramp

primary
#2DB42A
secondary
#C672C8
accent
#43E5E2
background
#F8FCF6
surface
#EFF9EC
border
#CAD2C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2DB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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