#2DA02A#2DA02A

#2DA02A is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.185 H 142.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2DA02A
RGBrgb(45, 160, 42)
HSLhsl(118, 58%, 40%)
HSVhsv(118, 74%, 63%)
CMYKcmyk(71.9%, 0%, 73.8%, 37.3%)
CIE-LABlab(57.91, -54.07, 49.50)
CIE-LCHlch(57.91, 73.31, 137.53°)
OKLaboklab(61.94% -0.1469 0.1122)
OKLCHoklch(61.94% 0.185 142.6)
XYZxyz(14.0701, 25.8651, 6.4410)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA02A #9D2AA0
analogous
#68A02A #2DA02A #2AA062
triadic
#2DA02A #2A2DA0 #A02A2D
tetradic
#2DA02A #2A68A0 #9D2AA0 #A0622A
square
#2DA02A #2A68A0 #9D2AA0 #A0622A
split-complementary
#2DA02A #622AA0 #A02A68
monochromatic
#123F11 #1F701D #2DA02A #3FCC3C #6FD86C

Accessibility & contrast

On white

3.40
#2DA02A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#2DA02A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA02A
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA02A#FFFFFF#000000##000000
##2DA02A1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49115
Deuteranopia (green-blind)
#968836
Tritanopia (blue-blind)
#069B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2da02a;
/* rgb */ color: rgb(45, 160, 42);
/* oklch */ color: oklch(61.9% 0.185 142.6);
Tailwind
colors: {
  custom: {
    50: '#78bd6b',
    500: '#2da02a',
    950: '#000000',
  },
}
SCSS
$custom: #2da02a;
$custom-light: #78bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#2da02a",
  "rgb": {
    "r": 45,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 118.475,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61937,
    "c": 0.18489,
    "h": 142.6
  },
  "luminance": 0.25867
}

Semantic roles & 50–950 ramp

primary
#2DA02A
secondary
#BD67BF
accent
#46E2DE
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2DA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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