#2DA040#2DA040

#2DA040 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.2% C 0.169 H 145.8°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2DA040
RGBrgb(45, 160, 64)
HSLhsl(130, 56%, 40%)
HSVhsv(130, 72%, 63%)
CMYKcmyk(71.9%, 0%, 60%, 37.3%)
CIE-LABlab(58.10, -51.76, 40.28)
CIE-LCHlch(58.10, 65.59, 142.11°)
OKLaboklab(62.16% -0.1397 0.0951)
OKLCHoklch(62.16% 0.169 145.8)
XYZxyz(14.5774, 26.0680, 9.1129)
Luminance0.2607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA040 #A02D8D
analogous
#53A02D #2DA040 #2DA079
triadic
#2DA040 #402DA0 #A0402D
tetradic
#2DA040 #2D53A0 #A02D8D #A0792D
square
#2DA040 #2D53A0 #A02D8D #A0792D
split-complementary
#2DA040 #792DA0 #A02D53
monochromatic
#12401A #20702D #2DA040 #41C957 #70D781

Accessibility & contrast

On white

3.38
#2DA040 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#2DA040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA040
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA040#FFFFFF#000000##000000
##2DA0401.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29136
Deuteranopia (green-blind)
#958848
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2da040;
/* rgb */ color: rgb(45, 160, 64);
/* oklch */ color: oklch(62.2% 0.169 145.8);
Tailwind
colors: {
  custom: {
    50: '#77bd78',
    500: '#2da040',
    950: '#000000',
  },
}
SCSS
$custom: #2da040;
$custom-light: #77bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#2da040",
  "rgb": {
    "r": 45,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 129.913,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62158,
    "c": 0.16898,
    "h": 145.8
  },
  "luminance": 0.2607
}

Semantic roles & 50–950 ramp

primary
#2DA040
secondary
#BE6BB0
accent
#48C6DF
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2DA040

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

Preview Lab → · Contrast checker → · Palette generator →

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