#2DB12A#2DB12A

#2DB12A is a light, highly saturated green. Relative luminance 0.322; OKLCH L 66.6% C 0.204 H 142.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2DB12A
RGBrgb(45, 177, 42)
HSLhsl(119, 62%, 43%)
HSVhsv(119, 76%, 69%)
CMYKcmyk(74.6%, 0%, 76.3%, 30.6%)
CIE-LABlab(63.48, -59.66, 55.08)
CIE-LCHlch(63.48, 81.20, 137.28°)
OKLaboklab(66.56% -0.1621 0.1239)
OKLCHoklch(66.56% 0.204 142.6)
XYZxyz(17.2212, 32.1674, 7.4914)
Luminance0.3217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DB12A #AE2AB1
analogous
#70B12A #2DB12A #2AB16B
triadic
#2DB12A #2A2DB1 #B12A2D
tetradic
#2DB12A #2A70B1 #AE2AB1 #B16B2A
square
#2DB12A #2A70B1 #AE2AB1 #B16B2A
split-complementary
#2DB12A #6B2AB1 #B12A70
monochromatic
#144E13 #20801E #2DB12A #48D345 #79DF77

Accessibility & contrast

On white

2.82
#2DB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#2DB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2DB12A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DB12A#FFFFFF#000000##000000
##2DB12A1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A00A
Deuteranopia (green-blind)
#A69639
Tritanopia (blue-blind)
#00AC97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #2db12a;
/* rgb */ color: rgb(45, 177, 42);
/* oklch */ color: oklch(66.6% 0.204 142.6);
Tailwind
colors: {
  custom: {
    50: '#7cca6d',
    500: '#2db12a',
    950: '#000000',
  },
}
SCSS
$custom: #2db12a;
$custom-light: #7cca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#2db12a",
  "rgb": {
    "r": 45,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 118.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66563,
    "c": 0.20399,
    "h": 142.6
  },
  "luminance": 0.32169
}

Semantic roles & 50–950 ramp

primary
#2DB12A
secondary
#C470C6
accent
#43E5E1
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #2DB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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