#2DA840#2DA840

#2DA840 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.3% C 0.179 H 145.4°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2DA840
RGBrgb(45, 168, 64)
HSLhsl(129, 58%, 42%)
HSVhsv(129, 73%, 66%)
CMYKcmyk(73.2%, 0%, 61.9%, 34.1%)
CIE-LABlab(60.72, -54.56, 43.29)
CIE-LCHlch(60.72, 69.65, 141.57°)
OKLaboklab(64.33% -0.1473 0.1016)
OKLCHoklch(64.33% 0.179 145.4)
XYZxyz(16.0091, 28.9315, 9.5901)
Luminance0.2893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA840 #A82D95
analogous
#58A82D #2DA840 #2DA87E
triadic
#2DA840 #402DA8 #A8402D
tetradic
#2DA840 #2D58A8 #A82D95 #A87E2D
square
#2DA840 #2D58A8 #A82D95 #A87E2D
split-complementary
#2DA840 #7E2DA8 #A82D58
monochromatic
#13471B #20782E #2DA840 #45CD5A #75DA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2DA840#FFFFFF#000000##000000
##2DA8401.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)
#AB9835
Deuteranopia (green-blind)
#9D8F49
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #2da840;
/* rgb */ color: rgb(45, 168, 64);
/* oklch */ color: oklch(64.3% 0.179 145.4);
Tailwind
colors: {
  custom: {
    50: '#79c379',
    500: '#2da840',
    950: '#000000',
  },
}
SCSS
$custom: #2da840;
$custom-light: #79c379;
$custom-dark: #000000;
JSON
{
  "hex": "#2da840",
  "rgb": {
    "r": 45,
    "g": 168,
    "b": 64
  },
  "hsl": {
    "h": 129.268,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64329,
    "c": 0.17891,
    "h": 145.4
  },
  "luminance": 0.28933
}

Semantic roles & 50–950 ramp

primary
#2DA840
secondary
#C26FB5
accent
#47C9E1
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1309
muted
#7C827B

Preview Lab

Preview with #2DA840

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

Preview Lab → · Contrast checker → · Palette generator →

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