#2D9940#2D9940

#2D9940 is a mid, vivid green. Relative luminance 0.237; OKLCH L 60.2% C 0.160 H 146.1°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2D9940
RGBrgb(45, 153, 64)
HSLhsl(131, 55%, 39%)
HSVhsv(131, 71%, 60%)
CMYKcmyk(70.6%, 0%, 58.2%, 40%)
CIE-LABlab(55.80, -49.25, 37.58)
CIE-LCHlch(55.80, 61.95, 142.65°)
OKLaboklab(60.25% -0.1329 0.0892)
OKLCHoklch(60.25% 0.16 146.1)
XYZxyz(13.3979, 23.7091, 8.7197)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9940 #992D86
analogous
#50992D #2D9940 #2D9976
triadic
#2D9940 #402D99 #99402D
tetradic
#2D9940 #2D5099 #992D86 #99762D
square
#2D9940 #2D5099 #992D86 #99762D
split-complementary
#2D9940 #762D99 #992D50
monochromatic
#113A18 #1F6A2C #2D9940 #3DC655 #6CD47F

Accessibility & contrast

On white

3.66
#2D9940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#2D9940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9940
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9940#FFFFFF#000000##000000
##2D99401.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B37
Deuteranopia (green-blind)
#8E8247
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2d9940;
/* rgb */ color: rgb(45, 153, 64);
/* oklch */ color: oklch(60.2% 0.160 146.1);
Tailwind
colors: {
  custom: {
    50: '#75b877',
    500: '#2d9940',
    950: '#000000',
  },
}
SCSS
$custom: #2d9940;
$custom-light: #75b877;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9940",
  "rgb": {
    "r": 45,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 130.556,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.16006,
    "h": 146.1
  },
  "luminance": 0.23711
}

Semantic roles & 50–950 ramp

primary
#2D9940
secondary
#BB67AC
accent
#4AC4DE
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #2D9940

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

Preview Lab → · Contrast checker → · Palette generator →

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