#2D7D52#2D7D52

#2D7D52 is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.9% C 0.104 H 156.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2D7D52
RGBrgb(45, 125, 82)
HSLhsl(148, 47%, 33%)
HSVhsv(148, 64%, 49%)
CMYKcmyk(64%, 0%, 34.4%, 51%)
CIE-LABlab(46.76, -34.94, 16.44)
CIE-LCHlch(46.76, 38.62, 154.80°)
OKLaboklab(52.89% -0.095 0.0415)
OKLCHoklch(52.89% 0.104 156.4)
XYZxyz(9.9379, 15.8333, 10.5134)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D52 #7D2D58
analogous
#307D2D #2D7D52 #2D7D7A
triadic
#2D7D52 #522D7D #7D522D
tetradic
#2D7D52 #2D307D #7D2D58 #7D7A2D
square
#2D7D52 #2D307D #7D2D58 #7D7A2D
split-complementary
#2D7D52 #7A2D7D #7D2D30
monochromatic
#0D2317 #1D5034 #2D7D52 #3DAA70 #5FC58E

Accessibility & contrast

On white

5.04
#2D7D52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2D7D52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D52
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D52#FFFFFF#000000##FFFFFF
##2D7D521.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734F
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#077C72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7d52;
/* rgb */ color: rgb(45, 125, 82);
/* oklch */ color: oklch(52.9% 0.104 156.4);
Tailwind
colors: {
  custom: {
    50: '#6fa383',
    500: '#2d7d52',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d52;
$custom-light: #6fa383;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d52",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 82
  },
  "hsl": {
    "h": 147.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52889,
    "c": 0.10364,
    "h": 156.4
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#2D7D52
secondary
#AC5A86
accent
#5199D7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7D52

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

Preview Lab → · Contrast checker → · Palette generator →

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