#2DA02F#2DA02F

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

Color values

HEX#2DA02F
RGBrgb(45, 160, 47)
HSLhsl(121, 56%, 40%)
HSVhsv(121, 72%, 63%)
CMYKcmyk(71.9%, 0%, 70.6%, 37.3%)
CIE-LABlab(57.95, -53.64, 47.59)
CIE-LCHlch(57.95, 71.71, 138.42°)
OKLaboklab(61.98% -0.1455 0.1089)
OKLCHoklch(61.98% 0.182 143.2)
XYZxyz(14.1652, 25.9032, 6.9421)
Luminance0.2591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA02F #A02D9E
analogous
#65A02D #2DA02F #2DA068
triadic
#2DA02F #2F2DA0 #A02F2D
tetradic
#2DA02F #2D65A0 #A02D9E #A0682D
square
#2DA02F #2D65A0 #A02D9E #A0682D
split-complementary
#2DA02F #682DA0 #A02D65
monochromatic
#124013 #207021 #2DA02F #41C943 #70D772

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2DA02F#FFFFFF#000000##000000
##2DA02F1.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)
#A3911E
Deuteranopia (green-blind)
#96883A
Tritanopia (blue-blind)
#039B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #2da02f;
/* rgb */ color: rgb(45, 160, 47);
/* oklch */ color: oklch(62.0% 0.182 143.2);
Tailwind
colors: {
  custom: {
    50: '#78bd6e',
    500: '#2da02f',
    950: '#000000',
  },
}
SCSS
$custom: #2da02f;
$custom-light: #78bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#2da02f",
  "rgb": {
    "r": 45,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 121.043,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.18173,
    "h": 143.2
  },
  "luminance": 0.25905
}

Semantic roles & 50–950 ramp

primary
#2DA02F
secondary
#BE6BBD
accent
#48DDDF
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2DA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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