#2D9848#2D9848

#2D9848 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.1% C 0.152 H 148.0°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2D9848
RGBrgb(45, 152, 72)
HSLhsl(135, 54%, 39%)
HSVhsv(135, 70%, 60%)
CMYKcmyk(70.4%, 0%, 52.6%, 40.4%)
CIE-LABlab(55.56, -47.72, 33.30)
CIE-LCHlch(55.56, 58.19, 145.10°)
OKLaboklab(60.09% -0.1286 0.0803)
OKLCHoklch(60.09% 0.152 148)
XYZxyz(13.4791, 23.4808, 9.9515)
Luminance0.2348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D9848 #982D7D
analogous
#47982D #2D9848 #2D987D
triadic
#2D9848 #482D98 #98482D
tetradic
#2D9848 #2D4798 #982D7D #987D2D
square
#2D9848 #2D4798 #982D7D #987D2D
split-complementary
#2D9848 #7D2D98 #982D47
monochromatic
#113A1B #1F6932 #2D9848 #3DC55F #6CD386

Accessibility & contrast

On white

3.69
#2D9848 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#2D9848 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D9848
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D9848#FFFFFF#000000##000000
##2D98481.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B41
Deuteranopia (green-blind)
#8D824E
Tritanopia (blue-blind)
#009586
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2d9848;
/* rgb */ color: rgb(45, 152, 72);
/* oklch */ color: oklch(60.1% 0.152 148.0);
Tailwind
colors: {
  custom: {
    50: '#75b77d',
    500: '#2d9848',
    950: '#000000',
  },
}
SCSS
$custom: #2d9848;
$custom-light: #75b77d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d9848",
  "rgb": {
    "r": 45,
    "g": 152,
    "b": 72
  },
  "hsl": {
    "h": 135.14,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.6009,
    "c": 0.15162,
    "h": 148
  },
  "luminance": 0.23482
}

Semantic roles & 50–950 ramp

primary
#2D9848
secondary
#BA66A5
accent
#4AB8DE
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #2D9848

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

Preview Lab → · Contrast checker → · Palette generator →

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