#2D8748#2D8748

#2D8748 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.4% C 0.128 H 149.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2D8748
RGBrgb(45, 135, 72)
HSLhsl(138, 50%, 35%)
HSVhsv(138, 67%, 53%)
CMYKcmyk(66.7%, 0%, 46.7%, 47.1%)
CIE-LABlab(49.92, -41.11, 26.22)
CIE-LCHlch(49.92, 48.76, 147.47°)
OKLaboklab(55.43% -0.1109 0.0643)
OKLCHoklch(55.43% 0.128 149.9)
XYZxyz(10.9150, 18.3526, 9.0968)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8748 #872D6C
analogous
#3F872D #2D8748 #2D8775
triadic
#2D8748 #482D87 #87482D
tetradic
#2D8748 #2D3F87 #872D6C #87752D
square
#2D8748 #2D3F87 #872D6C #87752D
split-complementary
#2D8748 #752D87 #872D3F
monochromatic
#0E2B17 #1E5930 #2D8748 #3CB560 #63CB82

Accessibility & contrast

On white

4.50
#2D8748 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2D8748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8748
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8748#FFFFFF#000000##000000
##2D87481.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#887C43
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#098578
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d8748;
/* rgb */ color: rgb(45, 135, 72);
/* oklch */ color: oklch(55.4% 0.128 149.9);
Tailwind
colors: {
  custom: {
    50: '#71ab7c',
    500: '#2d8748',
    950: '#000000',
  },
}
SCSS
$custom: #2d8748;
$custom-light: #71ab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8748",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 72
  },
  "hsl": {
    "h": 138,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.12822,
    "h": 149.9
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#2D8748
secondary
#B25E99
accent
#4EB0DA
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2D8748

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

Preview Lab → · Contrast checker → · Palette generator →

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