#2DA42C#2DA42C

#2DA42C is a light, vivid green. Relative luminance 0.273; OKLCH L 63.0% C 0.188 H 142.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2DA42C
RGBrgb(45, 164, 44)
HSLhsl(120, 58%, 41%)
HSVhsv(120, 73%, 64%)
CMYKcmyk(72.6%, 0%, 73.2%, 35.7%)
CIE-LABlab(59.24, -55.25, 50.11)
CIE-LCHlch(59.24, 74.59, 137.79°)
OKLaboklab(63.05% -0.15 0.1137)
OKLCHoklch(63.05% 0.188 142.8)
XYZxyz(14.8114, 27.2890, 6.8691)
Luminance0.2729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA42C #A32CA4
analogous
#69A42C #2DA42C #2CA467
triadic
#2DA42C #2C2DA4 #A42C2D
tetradic
#2DA42C #2C69A4 #A32CA4 #A4672C
square
#2DA42C #2C69A4 #A32CA4 #A4672C
split-complementary
#2DA42C #672CA4 #A42C69
monochromatic
#134312 #20741F #2DA42C #42CC41 #72D971

Accessibility & contrast

On white

3.25
#2DA42C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#2DA42C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA42C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA42C#FFFFFF#000000##000000
##2DA42C1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89417
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#009F8D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2da42c;
/* rgb */ color: rgb(45, 164, 44);
/* oklch */ color: oklch(63.0% 0.188 142.8);
Tailwind
colors: {
  custom: {
    50: '#79c06d',
    500: '#2da42c',
    950: '#000000',
  },
}
SCSS
$custom: #2da42c;
$custom-light: #79c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#2da42c",
  "rgb": {
    "r": 45,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 119.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63046,
    "c": 0.18827,
    "h": 142.8
  },
  "luminance": 0.27291
}

Semantic roles & 50–950 ramp

primary
#2DA42C
secondary
#C06BC0
accent
#47E1E0
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2DA42C

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

Preview Lab → · Contrast checker → · Palette generator →

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