#2DA51F#2DA51F

#2DA51F is a light, vivid green. Relative luminance 0.276; OKLCH L 63.2% C 0.196 H 141.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#2DA51F
RGBrgb(45, 165, 31)
HSLhsl(114, 68%, 38%)
HSVhsv(114, 81%, 65%)
CMYKcmyk(72.7%, 0%, 81.2%, 35.3%)
CIE-LABlab(59.49, -56.51, 54.75)
CIE-LCHlch(59.49, 78.68, 135.91°)
OKLaboklab(63.23% -0.1541 0.1216)
OKLCHoklch(63.23% 0.196 141.7)
XYZxyz(14.7838, 27.5654, 5.8376)
Luminance0.2757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA51F #971FA5
analogous
#70A51F #2DA51F #1FA554
triadic
#2DA51F #1F2DA5 #A51F2D
tetradic
#2DA51F #1F70A5 #971FA5 #A5541F
square
#2DA51F #1F70A5 #971FA5 #A5541F
split-complementary
#2DA51F #541FA5 #A51F70
monochromatic
#113E0C #1F7115 #2DA51F #3CD72A #6BE15E

Accessibility & contrast

On white

3.22
#2DA51F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#2DA51F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA51F
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA51F#FFFFFF#000000##000000
##2DA51F1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#05A08D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2da51f;
/* rgb */ color: rgb(45, 165, 31);
/* oklch */ color: oklch(63.2% 0.196 141.7);
Tailwind
colors: {
  custom: {
    50: '#7ac167',
    500: '#2da51f',
    950: '#000000',
  },
}
SCSS
$custom: #2da51f;
$custom-light: #7ac167;
$custom-dark: #000000;
JSON
{
  "hex": "#2da51f",
  "rgb": {
    "r": 45,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 113.731,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63232,
    "c": 0.19629,
    "h": 141.7
  },
  "luminance": 0.27567
}

Semantic roles & 50–950 ramp

primary
#2DA51F
secondary
#BA5BC5
accent
#3DEBD9
background
#F8FCF6
surface
#EFF8EB
border
#CAD1C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #2DA51F

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

Preview Lab → · Contrast checker → · Palette generator →

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