#2DA02B#2DA02B

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

Color values

HEX#2DA02B
RGBrgb(45, 160, 43)
HSLhsl(119, 58%, 40%)
HSVhsv(119, 73%, 63%)
CMYKcmyk(71.9%, 0%, 73.1%, 37.3%)
CIE-LABlab(57.92, -53.99, 49.13)
CIE-LCHlch(57.92, 73.00, 137.70°)
OKLaboklab(61.94% -0.1467 0.1116)
OKLCHoklch(61.94% 0.184 142.7)
XYZxyz(14.0882, 25.8724, 6.5364)
Luminance0.2587 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA02B #9E2BA0
analogous
#68A02B #2DA02B #2BA063
triadic
#2DA02B #2B2DA0 #A02B2D
tetradic
#2DA02B #2B68A0 #9E2BA0 #A0632B
square
#2DA02B #2B68A0 #9E2BA0 #A0632B
split-complementary
#2DA02B #632BA0 #A02B68
monochromatic
#124011 #1F701E #2DA02B #40CB3D #6FD86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2DA02B#FFFFFF#000000##000000
##2DA02B1.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)
#A49117
Deuteranopia (green-blind)
#968837
Tritanopia (blue-blind)
#059B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2da02b;
/* rgb */ color: rgb(45, 160, 43);
/* oklch */ color: oklch(61.9% 0.184 142.7);
Tailwind
colors: {
  custom: {
    50: '#78bd6c',
    500: '#2da02b',
    950: '#000000',
  },
}
SCSS
$custom: #2da02b;
$custom-light: #78bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2da02b",
  "rgb": {
    "r": 45,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 118.974,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61945,
    "c": 0.18428,
    "h": 142.7
  },
  "luminance": 0.25874
}

Semantic roles & 50–950 ramp

primary
#2DA02B
secondary
#BD68BF
accent
#47E1DE
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2DA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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