#2D8440#2D8440

#2D8440 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.132 H 147.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D8440
RGBrgb(45, 132, 64)
HSLhsl(133, 49%, 35%)
HSVhsv(133, 66%, 52%)
CMYKcmyk(65.9%, 0%, 51.5%, 48.2%)
CIE-LABlab(48.80, -41.24, 29.11)
CIE-LCHlch(48.80, 50.48, 144.78°)
OKLaboklab(54.47% -0.1113 0.0705)
OKLCHoklch(54.47% 0.132 147.6)
XYZxyz(10.2581, 17.4295, 7.6731)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8440 #842D71
analogous
#46842D #2D8440 #2D846B
triadic
#2D8440 #402D84 #84402D
tetradic
#2D8440 #2D4684 #842D71 #846B2D
square
#2D8440 #2D4684 #842D71 #846B2D
split-complementary
#2D8440 #6B2D84 #842D46
monochromatic
#0E2914 #1D562A #2D8440 #3DB256 #62C979

Accessibility & contrast

On white

4.68
#2D8440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2D8440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8440
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8440#FFFFFF#000000##FFFFFF
##2D84401.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85793A
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#128174
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8440;
/* rgb */ color: rgb(45, 132, 64);
/* oklch */ color: oklch(54.5% 0.132 147.6);
Tailwind
colors: {
  custom: {
    50: '#71a976',
    500: '#2d8440',
    950: '#000000',
  },
}
SCSS
$custom: #2d8440;
$custom-light: #71a976;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8440",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 64
  },
  "hsl": {
    "h": 133.103,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.13179,
    "h": 147.6
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

primary
#2D8440
secondary
#B05D9E
accent
#4FBBD9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2D8440

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

Preview Lab → · Contrast checker → · Palette generator →

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