#2DAF42#2DAF42

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

Color values

HEX#2DAF42
RGBrgb(45, 175, 66)
HSLhsl(130, 59%, 43%)
HSVhsv(130, 74%, 69%)
CMYKcmyk(74.3%, 0%, 62.3%, 31.4%)
CIE-LABlab(63.02, -56.72, 45.00)
CIE-LCHlch(63.02, 72.40, 141.57°)
OKLaboklab(66.24% -0.153 0.1054)
OKLCHoklch(66.24% 0.186 145.4)
XYZxyz(17.3943, 31.6092, 10.3377)
Luminance0.3161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DAF42 #AF2D9A
analogous
#59AF2D #2DAF42 #2DAF83
triadic
#2DAF42 #422DAF #AF422D
tetradic
#2DAF42 #2D59AF #AF2D9A #AF832D
square
#2DAF42 #2D59AF #AF2D9A #AF832D
split-complementary
#2DAF42 #832DAF #AF2D59
monochromatic
#144E1D #207E30 #2DAF42 #49D05F #7ADD8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2DAF42#FFFFFF#000000##000000
##2DAF421.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)
#B29F36
Deuteranopia (green-blind)
#A3944B
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #2daf42;
/* rgb */ color: rgb(45, 175, 66);
/* oklch */ color: oklch(66.2% 0.186 145.4);
Tailwind
colors: {
  custom: {
    50: '#7ac87a',
    500: '#2daf42',
    950: '#000000',
  },
}
SCSS
$custom: #2daf42;
$custom-light: #7ac87a;
$custom-dark: #000000;
JSON
{
  "hex": "#2daf42",
  "rgb": {
    "r": 45,
    "g": 175,
    "b": 66
  },
  "hsl": {
    "h": 129.692,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6624,
    "c": 0.18584,
    "h": 145.4
  },
  "luminance": 0.31611
}

Semantic roles & 50–950 ramp

primary
#2DAF42
secondary
#C573B8
accent
#46C9E2
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2DAF42

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

Preview Lab → · Contrast checker → · Palette generator →

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