#2DB240#2DB240

#2DB240 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.0% C 0.191 H 145.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2DB240
RGBrgb(45, 178, 64)
HSLhsl(129, 60%, 44%)
HSVhsv(129, 75%, 70%)
CMYKcmyk(74.7%, 0%, 64%, 30.2%)
CIE-LABlab(63.97, -57.96, 46.96)
CIE-LCHlch(63.97, 74.60, 140.99°)
OKLaboklab(67.02% -0.1565 0.1094)
OKLCHoklch(67.02% 0.191 145)
XYZxyz(17.9268, 32.7668, 10.2293)
Luminance0.3277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2DB240 #B22D9F
analogous
#5CB22D #2DB240 #2DB282
triadic
#2DB240 #402DB2 #B2402D
tetradic
#2DB240 #2D5CB2 #B22D9F #B2822D
square
#2DB240 #2D5CB2 #B22D9F #B2822D
split-complementary
#2DB240 #822DB2 #B22D5C
monochromatic
#14501D #21812E #2DB240 #4BD15E #7CDE8A

Accessibility & contrast

On white

2.78
#2DB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#2DB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #2DB240
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2DB240#FFFFFF#000000##000000
##2DB2401.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A132
Deuteranopia (green-blind)
#A6974A
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #2db240;
/* rgb */ color: rgb(45, 178, 64);
/* oklch */ color: oklch(67.0% 0.191 145.0);
Tailwind
colors: {
  custom: {
    50: '#7bca79',
    500: '#2db240',
    950: '#000000',
  },
}
SCSS
$custom: #2db240;
$custom-light: #7bca79;
$custom-dark: #000000;
JSON
{
  "hex": "#2db240",
  "rgb": {
    "r": 45,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 128.571,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67024,
    "c": 0.19095,
    "h": 145
  },
  "luminance": 0.32769
}

Semantic roles & 50–950 ramp

primary
#2DB240
secondary
#C675BB
accent
#45CCE3
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #2DB240

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

Preview Lab → · Contrast checker → · Palette generator →

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