#2DA02C#2DA02C

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

Color values

HEX#2DA02C
RGBrgb(45, 160, 44)
HSLhsl(119, 57%, 40%)
HSVhsv(119, 73%, 63%)
CMYKcmyk(71.9%, 0%, 72.5%, 37.3%)
CIE-LABlab(57.92, -53.90, 48.75)
CIE-LCHlch(57.92, 72.68, 137.87°)
OKLaboklab(61.95% -0.1464 0.1109)
OKLCHoklch(61.95% 0.184 142.9)
XYZxyz(14.1068, 25.8798, 6.6342)
Luminance0.2588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA02C #9F2CA0
analogous
#67A02C #2DA02C #2CA065
triadic
#2DA02C #2C2DA0 #A02C2D
tetradic
#2DA02C #2C67A0 #9F2CA0 #A0652C
square
#2DA02C #2C67A0 #9F2CA0 #A0652C
split-complementary
#2DA02C #652CA0 #A02C67
monochromatic
#124012 #1F701F #2DA02C #40CA3F #70D76F

Accessibility & contrast

On white

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

On black

6.18
#2DA02C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA02C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA02C#FFFFFF#000000##000000
##2DA02C1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49119
Deuteranopia (green-blind)
#968838
Tritanopia (blue-blind)
#059B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2da02c;
/* rgb */ color: rgb(45, 160, 44);
/* oklch */ color: oklch(62.0% 0.184 142.9);
Tailwind
colors: {
  custom: {
    50: '#78bd6c',
    500: '#2da02c',
    950: '#000000',
  },
}
SCSS
$custom: #2da02c;
$custom-light: #78bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#2da02c",
  "rgb": {
    "r": 45,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 119.483,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.61953,
    "c": 0.18365,
    "h": 142.9
  },
  "luminance": 0.25881
}

Semantic roles & 50–950 ramp

primary
#2DA02C
secondary
#BE69BF
accent
#48E0DF
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2DA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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