#2D8548#2D8548

#2D8548 is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.125 H 150.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2D8548
RGBrgb(45, 133, 72)
HSLhsl(138, 49%, 35%)
HSVhsv(138, 66%, 52%)
CMYKcmyk(66.2%, 0%, 45.9%, 47.8%)
CIE-LABlab(49.25, -40.30, 25.37)
CIE-LCHlch(49.25, 47.62, 147.81°)
OKLaboklab(54.88% -0.1087 0.0624)
OKLCHoklch(54.88% 0.125 150.2)
XYZxyz(10.6386, 17.7997, 9.0047)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8548 #852D6A
analogous
#3E852D #2D8548 #2D8574
triadic
#2D8548 #482D85 #85482D
tetradic
#2D8548 #2D3E85 #852D6A #85742D
square
#2D8548 #2D3E85 #852D6A #85742D
split-complementary
#2D8548 #742D85 #852D3E
monochromatic
#0E2A16 #1E572F #2D8548 #3CB361 #62CA82

Accessibility & contrast

On white

4.61
#2D8548 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2D8548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8548
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8548#FFFFFF#000000##FFFFFF
##2D85481.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867A43
Deuteranopia (green-blind)
#7B724C
Tritanopia (blue-blind)
#0B8376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d8548;
/* rgb */ color: rgb(45, 133, 72);
/* oklch */ color: oklch(54.9% 0.125 150.2);
Tailwind
colors: {
  custom: {
    50: '#71a97c',
    500: '#2d8548',
    950: '#000000',
  },
}
SCSS
$custom: #2d8548;
$custom-light: #71a97c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8548",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 72
  },
  "hsl": {
    "h": 138.409,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.12537,
    "h": 150.2
  },
  "luminance": 0.17801
}

Semantic roles & 50–950 ramp

primary
#2D8548
secondary
#B05D97
accent
#4FAFD9
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2D8548

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

Preview Lab → · Contrast checker → · Palette generator →

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