#2DA042#2DA042

#2DA042 is a light, vivid green. Relative luminance 0.261; OKLCH L 62.2% C 0.167 H 146.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2DA042
RGBrgb(45, 160, 66)
HSLhsl(131, 56%, 40%)
HSVhsv(131, 72%, 63%)
CMYKcmyk(71.9%, 0%, 58.8%, 37.3%)
CIE-LABlab(58.12, -51.50, 39.35)
CIE-LCHlch(58.12, 64.82, 142.62°)
OKLaboklab(62.18% -0.1389 0.0933)
OKLCHoklch(62.18% 0.167 146.1)
XYZxyz(14.6353, 26.0912, 9.4180)
Luminance0.2609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA042 #A02D8B
analogous
#51A02D #2DA042 #2DA07C
triadic
#2DA042 #422DA0 #A0422D
tetradic
#2DA042 #2D51A0 #A02D8B #A07C2D
square
#2DA042 #2D51A0 #A02D8B #A07C2D
split-complementary
#2DA042 #7C2DA0 #A02D51
monochromatic
#12401B #20702E #2DA042 #41C95A #70D783

Accessibility & contrast

On white

3.38
#2DA042 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#2DA042 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA042
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA042#FFFFFF#000000##000000
##2DA0421.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29139
Deuteranopia (green-blind)
#95884A
Tritanopia (blue-blind)
#009C8B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2da042;
/* rgb */ color: rgb(45, 160, 66);
/* oklch */ color: oklch(62.2% 0.167 146.1);
Tailwind
colors: {
  custom: {
    50: '#77bd79',
    500: '#2da042',
    950: '#000000',
  },
}
SCSS
$custom: #2da042;
$custom-light: #77bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#2da042",
  "rgb": {
    "r": 45,
    "g": 160,
    "b": 66
  },
  "hsl": {
    "h": 130.957,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62184,
    "c": 0.16732,
    "h": 146.1
  },
  "luminance": 0.26093
}

Semantic roles & 50–950 ramp

primary
#2DA042
secondary
#BE6BAF
accent
#48C4DF
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #2DA042

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

Preview Lab → · Contrast checker → · Palette generator →

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