#2DA842#2DA842

#2DA842 is a light, vivid green. Relative luminance 0.290; OKLCH L 64.4% C 0.177 H 145.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2DA842
RGBrgb(45, 168, 66)
HSLhsl(130, 58%, 42%)
HSVhsv(130, 73%, 66%)
CMYKcmyk(73.2%, 0%, 60.7%, 34.1%)
CIE-LABlab(60.74, -54.32, 42.39)
CIE-LCHlch(60.74, 68.91, 142.03°)
OKLaboklab(64.35% -0.1465 0.0998)
OKLCHoklch(64.35% 0.177 145.7)
XYZxyz(16.0671, 28.9547, 9.8952)
Luminance0.2896 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA842 #A82D93
analogous
#56A82D #2DA842 #2DA880
triadic
#2DA842 #422DA8 #A8422D
tetradic
#2DA842 #2D56A8 #A82D93 #A8802D
square
#2DA842 #2D56A8 #A82D93 #A8802D
split-complementary
#2DA842 #802DA8 #A82D56
monochromatic
#13471C #20782F #2DA842 #45CD5C #75DA87

Accessibility & contrast

On white

3.09
#2DA842 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#2DA842 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA842
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA842#FFFFFF#000000##000000
##2DA8421.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9937
Deuteranopia (green-blind)
#9C8F4A
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2da842;
/* rgb */ color: rgb(45, 168, 66);
/* oklch */ color: oklch(64.4% 0.177 145.7);
Tailwind
colors: {
  custom: {
    50: '#79c37a',
    500: '#2da842',
    950: '#000000',
  },
}
SCSS
$custom: #2da842;
$custom-light: #79c37a;
$custom-dark: #000000;
JSON
{
  "hex": "#2da842",
  "rgb": {
    "r": 45,
    "g": 168,
    "b": 66
  },
  "hsl": {
    "h": 130.244,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64352,
    "c": 0.17731,
    "h": 145.7
  },
  "luminance": 0.28956
}

Semantic roles & 50–950 ramp

primary
#2DA842
secondary
#C26FB4
accent
#47C7E1
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2DA842

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

Preview Lab → · Contrast checker → · Palette generator →

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