#2D8439#2D8439

#2D8439 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.138 H 145.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2D8439
RGBrgb(45, 132, 57)
HSLhsl(128, 49%, 35%)
HSVhsv(128, 66%, 52%)
CMYKcmyk(65.9%, 0%, 56.8%, 48.2%)
CIE-LABlab(48.70, -42.29, 32.64)
CIE-LCHlch(48.70, 53.43, 142.34°)
OKLaboklab(54.36% -0.1143 0.0779)
OKLCHoklch(54.36% 0.138 145.7)
XYZxyz(10.0713, 17.3548, 6.6892)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8439 #842D78
analogous
#4C842D #2D8439 #2D8465
triadic
#2D8439 #392D84 #84392D
tetradic
#2D8439 #2D4C84 #842D78 #84652D
square
#2D8439 #2D4C84 #842D78 #84652D
split-complementary
#2D8439 #652D84 #842D4C
monochromatic
#0E2912 #1D5625 #2D8439 #3DB24D #62C970

Accessibility & contrast

On white

4.70
#2D8439 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2D8439 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8439
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8439#FFFFFF#000000##FFFFFF
##2D84391.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867832
Deuteranopia (green-blind)
#7B713F
Tritanopia (blue-blind)
#168173
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d8439;
/* rgb */ color: rgb(45, 132, 57);
/* oklch */ color: oklch(54.4% 0.138 145.7);
Tailwind
colors: {
  custom: {
    50: '#71a971',
    500: '#2d8439',
    950: '#000000',
  },
}
SCSS
$custom: #2d8439;
$custom-light: #71a971;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8439",
  "rgb": {
    "r": 45,
    "g": 132,
    "b": 57
  },
  "hsl": {
    "h": 128.276,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54361,
    "c": 0.13837,
    "h": 145.7
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#2D8439
secondary
#B05DA4
accent
#4FC6D9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2D8439

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

Preview Lab → · Contrast checker → · Palette generator →

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