#2D7E52#2D7E52

#2D7E52 is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.2% C 0.105 H 156.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2D7E52
RGBrgb(45, 126, 82)
HSLhsl(147, 47%, 34%)
HSVhsv(147, 64%, 49%)
CMYKcmyk(64.3%, 0%, 34.9%, 50.6%)
CIE-LABlab(47.09, -35.38, 16.90)
CIE-LCHlch(47.09, 39.21, 154.47°)
OKLaboklab(53.16% -0.0961 0.0426)
OKLCHoklch(53.16% 0.105 156.1)
XYZxyz(10.0652, 16.0878, 10.5558)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E52 #7E2D59
analogous
#317E2D #2D7E52 #2D7E7A
triadic
#2D7E52 #522D7E #7E522D
tetradic
#2D7E52 #2D317E #7E2D59 #7E7A2D
square
#2D7E52 #2D317E #7E2D59 #7E7A2D
split-complementary
#2D7E52 #7A2D7E #7E2D31
monochromatic
#0D2417 #1D5135 #2D7E52 #3DAB6F #5FC68E

Accessibility & contrast

On white

4.98
#2D7E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2D7E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E52
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E52#FFFFFF#000000##FFFFFF
##2D7E521.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744F
Deuteranopia (green-blind)
#736D55
Tritanopia (blue-blind)
#067D73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d7e52;
/* rgb */ color: rgb(45, 126, 82);
/* oklch */ color: oklch(53.2% 0.105 156.1);
Tailwind
colors: {
  custom: {
    50: '#6fa483',
    500: '#2d7e52',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e52;
$custom-light: #6fa483;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e52",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 82
  },
  "hsl": {
    "h": 147.407,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.10512,
    "h": 156.1
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#2D7E52
secondary
#AC5A87
accent
#519AD7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7E52

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

Preview Lab → · Contrast checker → · Palette generator →

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