#2D8541#2D8541

#2D8541 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.132 H 147.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2D8541
RGBrgb(45, 133, 65)
HSLhsl(134, 49%, 35%)
HSVhsv(134, 66%, 52%)
CMYKcmyk(66.2%, 0%, 51.1%, 47.8%)
CIE-LABlab(49.15, -41.48, 29.01)
CIE-LCHlch(49.15, 50.62, 145.03°)
OKLaboklab(54.76% -0.1119 0.0704)
OKLCHoklch(54.76% 0.132 147.9)
XYZxyz(10.4231, 17.7135, 7.8698)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8541 #852D71
analogous
#45852D #2D8541 #2D856D
triadic
#2D8541 #412D85 #85412D
tetradic
#2D8541 #2D4585 #852D71 #856D2D
square
#2D8541 #2D4585 #852D71 #856D2D
split-complementary
#2D8541 #6D2D85 #852D45
monochromatic
#0E2A14 #1E572B #2D8541 #3CB357 #62CA7A

Accessibility & contrast

On white

4.62
#2D8541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2D8541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8541
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8541#FFFFFF#000000##FFFFFF
##2D85411.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793B
Deuteranopia (green-blind)
#7B7246
Tritanopia (blue-blind)
#118275
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d8541;
/* rgb */ color: rgb(45, 133, 65);
/* oklch */ color: oklch(54.8% 0.132 147.9);
Tailwind
colors: {
  custom: {
    50: '#71a977',
    500: '#2d8541',
    950: '#000000',
  },
}
SCSS
$custom: #2d8541;
$custom-light: #71a977;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8541",
  "rgb": {
    "r": 45,
    "g": 133,
    "b": 65
  },
  "hsl": {
    "h": 133.636,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.13222,
    "h": 147.9
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#2D8541
secondary
#B05D9E
accent
#4FBAD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2D8541

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

Preview Lab → · Contrast checker → · Palette generator →

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