#2D7F52#2D7F52

#2D7F52 is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.107 H 155.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2D7F52
RGBrgb(45, 127, 82)
HSLhsl(147, 48%, 34%)
HSVhsv(147, 65%, 50%)
CMYKcmyk(64.6%, 0%, 35.4%, 50.2%)
CIE-LABlab(47.42, -35.82, 17.35)
CIE-LCHlch(47.42, 39.80, 154.16°)
OKLaboklab(53.44% -0.0972 0.0437)
OKLCHoklch(53.44% 0.107 155.8)
XYZxyz(10.1937, 16.3448, 10.5987)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F52 #7F2D5A
analogous
#317F2D #2D7F52 #2D7F7B
triadic
#2D7F52 #522D7F #7F522D
tetradic
#2D7F52 #2D317F #7F2D5A #7F7B2D
square
#2D7F52 #2D317F #7F2D5A #7F7B2D
split-complementary
#2D7F52 #7B2D7F #7F2D31
monochromatic
#0D2518 #1D5235 #2D7F52 #3DAC6F #60C78E

Accessibility & contrast

On white

4.92
#2D7F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2D7F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F52
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F52#FFFFFF#000000##FFFFFF
##2D7F521.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E754F
Deuteranopia (green-blind)
#746D55
Tritanopia (blue-blind)
#057E73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d7f52;
/* rgb */ color: rgb(45, 127, 82);
/* oklch */ color: oklch(53.4% 0.107 155.8);
Tailwind
colors: {
  custom: {
    50: '#6fa583',
    500: '#2d7f52',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f52;
$custom-light: #6fa583;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f52",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 147.073,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53437,
    "c": 0.10661,
    "h": 155.8
  },
  "luminance": 0.16346
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7F52

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

Preview Lab → · Contrast checker → · Palette generator →

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