#2DB542#2DB542

#2DB542 is a light, vivid green. Relative luminance 0.340; OKLCH L 67.8% C 0.193 H 145.2°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2DB542
RGBrgb(45, 181, 66)
HSLhsl(129, 60%, 44%)
HSVhsv(129, 75%, 71%)
CMYKcmyk(75.1%, 0%, 63.5%, 29%)
CIE-LABlab(64.96, -58.74, 47.19)
CIE-LCHlch(64.96, 75.35, 141.22°)
OKLaboklab(67.85% -0.1585 0.1101)
OKLCHoklch(67.85% 0.193 145.2)
XYZxyz(18.5881, 33.9968, 10.7356)
Luminance0.3400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DB542 #B52DA0
analogous
#5CB52D #2DB542 #2DB586
triadic
#2DB542 #422DB5 #B5422D
tetradic
#2DB542 #2D5CB5 #B52DA0 #B5862D
square
#2DB542 #2D5CB5 #B52DA0 #B5862D
split-complementary
#2DB542 #862DB5 #B52D5C
monochromatic
#15531E #218430 #2DB542 #4DD361 #7EDF8D

Accessibility & contrast

On white

2.69
#2DB542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#2DB542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2DB542
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DB542#FFFFFF#000000##000000
##2DB5421.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A435
Deuteranopia (green-blind)
#A9994C
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #2db542;
/* rgb */ color: rgb(45, 181, 66);
/* oklch */ color: oklch(67.8% 0.193 145.2);
Tailwind
colors: {
  custom: {
    50: '#7ccc7b',
    500: '#2db542',
    950: '#000000',
  },
}
SCSS
$custom: #2db542;
$custom-light: #7ccc7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2db542",
  "rgb": {
    "r": 45,
    "g": 181,
    "b": 66
  },
  "hsl": {
    "h": 129.265,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.19301,
    "h": 145.2
  },
  "luminance": 0.33999
}

Semantic roles & 50–950 ramp

primary
#2DB542
secondary
#C776BB
accent
#44CBE3
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #2DB542

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

Preview Lab → · Contrast checker → · Palette generator →

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