#2D8738#2D8738

#2D8738 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.143 H 145.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2D8738
RGBrgb(45, 135, 56)
HSLhsl(127, 50%, 35%)
HSVhsv(127, 67%, 53%)
CMYKcmyk(66.7%, 0%, 58.5%, 47.1%)
CIE-LABlab(49.70, -43.60, 34.33)
CIE-LCHlch(49.70, 55.49, 141.78°)
OKLaboklab(55.18% -0.1179 0.0815)
OKLCHoklch(55.18% 0.143 145.3)
XYZxyz(10.4593, 18.1703, 6.6966)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8738 #872D7C
analogous
#4F872D #2D8738 #2D8765
triadic
#2D8738 #382D87 #87382D
tetradic
#2D8738 #2D4F87 #872D7C #87652D
square
#2D8738 #2D4F87 #872D7C #87652D
split-complementary
#2D8738 #652D87 #872D4F
monochromatic
#0E2B12 #1E5925 #2D8738 #3CB54B #63CB70

Accessibility & contrast

On white

4.53
#2D8738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2D8738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D8738
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8738#FFFFFF#000000##000000
##2D87381.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B30
Deuteranopia (green-blind)
#7E733E
Tritanopia (blue-blind)
#158476
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d8738;
/* rgb */ color: rgb(45, 135, 56);
/* oklch */ color: oklch(55.2% 0.143 145.3);
Tailwind
colors: {
  custom: {
    50: '#72ab71',
    500: '#2d8738',
    950: '#000000',
  },
}
SCSS
$custom: #2d8738;
$custom-light: #72ab71;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8738",
  "rgb": {
    "r": 45,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 127.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55182,
    "c": 0.14334,
    "h": 145.3
  },
  "luminance": 0.18171
}

Semantic roles & 50–950 ramp

primary
#2D8738
secondary
#B25EA7
accent
#4EC8DA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #2D8738

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

Preview Lab → · Contrast checker → · Palette generator →

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