#2D8041#2D8041

#2D8041 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.125 H 148.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2D8041
RGBrgb(45, 128, 65)
HSLhsl(134, 48%, 34%)
HSVhsv(134, 65%, 50%)
CMYKcmyk(64.8%, 0%, 49.2%, 49.8%)
CIE-LABlab(47.47, -39.46, 26.91)
CIE-LCHlch(47.47, 47.76, 145.71°)
OKLaboklab(53.37% -0.1065 0.0656)
OKLCHoklch(53.37% 0.125 148.4)
XYZxyz(9.7548, 16.3769, 7.6470)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D8041 #802D6C
analogous
#43802D #2D8041 #2D806B
triadic
#2D8041 #412D80 #80412D
tetradic
#2D8041 #2D4380 #802D6C #806B2D
square
#2D8041 #2D4380 #802D6C #806B2D
split-complementary
#2D8041 #6B2D80 #802D43
monochromatic
#0D2513 #1D532A #2D8041 #3DAD58 #60C779

Accessibility & contrast

On white

4.91
#2D8041 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2D8041 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D8041
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D8041#FFFFFF#000000##FFFFFF
##2D80411.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753C
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#147D71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d8041;
/* rgb */ color: rgb(45, 128, 65);
/* oklch */ color: oklch(53.4% 0.125 148.4);
Tailwind
colors: {
  custom: {
    50: '#70a677',
    500: '#2d8041',
    950: '#000000',
  },
}
SCSS
$custom: #2d8041;
$custom-light: #70a677;
$custom-dark: #000000;
JSON
{
  "hex": "#2d8041",
  "rgb": {
    "r": 45,
    "g": 128,
    "b": 65
  },
  "hsl": {
    "h": 134.458,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53375,
    "c": 0.12512,
    "h": 148.4
  },
  "luminance": 0.16378
}

Semantic roles & 50–950 ramp

primary
#2D8041
secondary
#AE5B9A
accent
#50B7D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2D8041

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

Preview Lab → · Contrast checker → · Palette generator →

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