#2DAF40#2DAF40

#2DAF40 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.187 H 145.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2DAF40
RGBrgb(45, 175, 64)
HSLhsl(129, 59%, 43%)
HSVhsv(129, 74%, 69%)
CMYKcmyk(74.3%, 0%, 63.4%, 31.4%)
CIE-LABlab(63.00, -56.95, 45.87)
CIE-LCHlch(63.00, 73.13, 141.15°)
OKLaboklab(66.22% -0.1538 0.1071)
OKLCHoklch(66.22% 0.187 145.1)
XYZxyz(17.3364, 31.5860, 10.0325)
Luminance0.3159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DAF40 #AF2D9C
analogous
#5BAF2D #2DAF40 #2DAF81
triadic
#2DAF40 #402DAF #AF402D
tetradic
#2DAF40 #2D5BAF #AF2D9C #AF812D
square
#2DAF40 #2D5BAF #AF2D9C #AF812D
split-complementary
#2DAF40 #812DAF #AF2D5B
monochromatic
#144E1C #207E2E #2DAF40 #49D05D #7ADD88

Accessibility & contrast

On white

2.87
#2DAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#2DAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2DAF40
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DAF40#FFFFFF#000000##000000
##2DAF401.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#A3944A
Tritanopia (blue-blind)
#00AA98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2daf40;
/* rgb */ color: rgb(45, 175, 64);
/* oklch */ color: oklch(66.2% 0.187 145.1);
Tailwind
colors: {
  custom: {
    50: '#7ac879',
    500: '#2daf40',
    950: '#000000',
  },
}
SCSS
$custom: #2daf40;
$custom-light: #7ac879;
$custom-dark: #000000;
JSON
{
  "hex": "#2daf40",
  "rgb": {
    "r": 45,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 128.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66217,
    "c": 0.18738,
    "h": 145.1
  },
  "luminance": 0.31588
}

Semantic roles & 50–950 ramp

primary
#2DAF40
secondary
#C573B9
accent
#46CBE2
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2DAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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