#2D7D4E#2D7D4E

#2D7D4E is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.108 H 154.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2D7D4E
RGBrgb(45, 125, 78)
HSLhsl(145, 47%, 33%)
HSVhsv(145, 64%, 49%)
CMYKcmyk(64%, 0%, 37.6%, 51%)
CIE-LABlab(46.68, -35.78, 18.63)
CIE-LCHlch(46.68, 40.34, 152.49°)
OKLaboklab(52.8% -0.097 0.0467)
OKLCHoklch(52.8% 0.108 154.3)
XYZxyz(9.7901, 15.7742, 9.7350)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D4E #7D2D5C
analogous
#347D2D #2D7D4E #2D7D76
triadic
#2D7D4E #4E2D7D #7D4E2D
tetradic
#2D7D4E #2D347D #7D2D5C #7D762D
square
#2D7D4E #2D347D #7D2D5C #7D762D
split-complementary
#2D7D4E #762D7D #7D2D34
monochromatic
#0D2316 #1D5032 #2D7D4E #3DAA6A #5FC589

Accessibility & contrast

On white

5.05
#2D7D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2D7D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D4E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D4E#FFFFFF#000000##FFFFFF
##2D7D4E1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734B
Deuteranopia (green-blind)
#726C51
Tritanopia (blue-blind)
#0C7C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7d4e;
/* rgb */ color: rgb(45, 125, 78);
/* oklch */ color: oklch(52.8% 0.108 154.3);
Tailwind
colors: {
  custom: {
    50: '#6fa380',
    500: '#2d7d4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d4e;
$custom-light: #6fa380;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d4e",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 144.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.10763,
    "h": 154.3
  },
  "luminance": 0.15775
}

Semantic roles & 50–950 ramp

primary
#2D7D4E
secondary
#AC5A8A
accent
#51A0D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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