#2DA42B#2DA42B

#2DA42B is a light, vivid green. Relative luminance 0.273; OKLCH L 63.0% C 0.189 H 142.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2DA42B
RGBrgb(45, 164, 43)
HSLhsl(119, 58%, 41%)
HSVhsv(119, 74%, 64%)
CMYKcmyk(72.6%, 0%, 73.8%, 35.7%)
CIE-LABlab(59.23, -55.33, 50.48)
CIE-LCHlch(59.23, 74.90, 137.63°)
OKLaboklab(63.04% -0.1503 0.1144)
OKLCHoklch(63.04% 0.189 142.7)
XYZxyz(14.7928, 27.2816, 6.7713)
Luminance0.2728 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DA42B #A22BA4
analogous
#69A42B #2DA42B #2BA465
triadic
#2DA42B #2B2DA4 #A42B2D
tetradic
#2DA42B #2B69A4 #A22BA4 #A4652B
square
#2DA42B #2B69A4 #A22BA4 #A4652B
split-complementary
#2DA42B #652BA4 #A42B69
monochromatic
#124312 #20741E #2DA42B #42CD3F #72D970

Accessibility & contrast

On white

3.25
#2DA42B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#2DA42B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2DA42B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DA42B#FFFFFF#000000##000000
##2DA42B1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89415
Deuteranopia (green-blind)
#9A8B38
Tritanopia (blue-blind)
#009F8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #2da42b;
/* rgb */ color: rgb(45, 164, 43);
/* oklch */ color: oklch(63.0% 0.189 142.7);
Tailwind
colors: {
  custom: {
    50: '#79c06c',
    500: '#2da42b',
    950: '#000000',
  },
}
SCSS
$custom: #2da42b;
$custom-light: #79c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#2da42b",
  "rgb": {
    "r": 45,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 119.008,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63039,
    "c": 0.18888,
    "h": 142.7
  },
  "luminance": 0.27283
}

Semantic roles & 50–950 ramp

primary
#2DA42B
secondary
#BF6AC1
accent
#46E2DF
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2DA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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