#2DB842#2DB842

#2DB842 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.7% C 0.197 H 145.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2DB842
RGBrgb(45, 184, 66)
HSLhsl(129, 61%, 45%)
HSVhsv(129, 76%, 72%)
CMYKcmyk(75.5%, 0%, 64.1%, 27.8%)
CIE-LABlab(65.93, -59.74, 48.27)
CIE-LCHlch(65.93, 76.80, 141.06°)
OKLaboklab(68.65% -0.1612 0.1124)
OKLCHoklch(68.65% 0.197 145.1)
XYZxyz(19.2047, 35.2300, 10.9411)
Luminance0.3523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DB842 #B82DA3
analogous
#5DB82D #2DB842 #2DB888
triadic
#2DB842 #422DB8 #B8422D
tetradic
#2DB842 #2D5DB8 #B82DA3 #B8882D
square
#2DB842 #2D5DB8 #B82DA3 #B8882D
split-complementary
#2DB842 #882DB8 #B82D5D
monochromatic
#15561F #218730 #2DB842 #4ED463 #80E08E

Accessibility & contrast

On white

2.61
#2DB842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#2DB842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2DB842
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DB842#FFFFFF#000000##000000
##2DB8421.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA734
Deuteranopia (green-blind)
#AB9C4C
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #2db842;
/* rgb */ color: rgb(45, 184, 66);
/* oklch */ color: oklch(68.7% 0.197 145.1);
Tailwind
colors: {
  custom: {
    50: '#7ccf7b',
    500: '#2db842',
    950: '#000000',
  },
}
SCSS
$custom: #2db842;
$custom-light: #7ccf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2db842",
  "rgb": {
    "r": 45,
    "g": 184,
    "b": 66
  },
  "hsl": {
    "h": 129.065,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68652,
    "c": 0.19654,
    "h": 145.1
  },
  "luminance": 0.35232
}

Semantic roles & 50–950 ramp

primary
#2DB842
secondary
#C978BC
accent
#44CCE4
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2DB842

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

Preview Lab → · Contrast checker → · Palette generator →

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