#2D9948#2D9948

#2D9948 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.4% C 0.153 H 147.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2D9948
RGBrgb(45, 153, 72)
HSLhsl(135, 55%, 39%)
HSVhsv(135, 71%, 60%)
CMYKcmyk(70.6%, 0%, 52.9%, 40%)
CIE-LABlab(55.89, -48.10, 33.70)
CIE-LCHlch(55.89, 58.73, 144.98°)
OKLaboklab(60.36% -0.1296 0.0813)
OKLCHoklch(60.36% 0.153 147.9)
XYZxyz(13.6421, 23.8067, 10.0058)
Luminance0.2381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9948 #992D7E
analogous
#48992D #2D9948 #2D997E
triadic
#2D9948 #482D99 #99482D
tetradic
#2D9948 #2D4899 #992D7E #997E2D
square
#2D9948 #2D4899 #992D7E #997E2D
split-complementary
#2D9948 #7E2D99 #992D48
monochromatic
#113A1B #1F6A32 #2D9948 #3DC65F #6CD486

Accessibility & contrast

On white

3.64
#2D9948 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#2D9948 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9948
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9948#FFFFFF#000000##000000
##2D99481.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B41
Deuteranopia (green-blind)
#8E824E
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2d9948;
/* rgb */ color: rgb(45, 153, 72);
/* oklch */ color: oklch(60.4% 0.153 147.9);
Tailwind
colors: {
  custom: {
    50: '#75b87d',
    500: '#2d9948',
    950: '#000000',
  },
}
SCSS
$custom: #2d9948;
$custom-light: #75b87d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9948",
  "rgb": {
    "r": 45,
    "g": 153,
    "b": 72
  },
  "hsl": {
    "h": 135,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.15295,
    "h": 147.9
  },
  "luminance": 0.23808
}

Semantic roles & 50–950 ramp

primary
#2D9948
secondary
#BB67A6
accent
#4AB9DE
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2D9948

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

Preview Lab → · Contrast checker → · Palette generator →

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