#2D7D4F#2D7D4F

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

Color values

HEX#2D7D4F
RGBrgb(45, 125, 79)
HSLhsl(146, 47%, 33%)
HSVhsv(146, 64%, 49%)
CMYKcmyk(64%, 0%, 36.8%, 51%)
CIE-LABlab(46.70, -35.57, 18.09)
CIE-LCHlch(46.70, 39.91, 153.05°)
OKLaboklab(52.82% -0.0965 0.0454)
OKLCHoklch(52.82% 0.107 154.8)
XYZxyz(9.8263, 15.7886, 9.9253)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D4F #7D2D5B
analogous
#337D2D #2D7D4F #2D7D77
triadic
#2D7D4F #4F2D7D #7D4F2D
tetradic
#2D7D4F #2D337D #7D2D5B #7D772D
square
#2D7D4F #2D337D #7D2D5B #7D772D
split-complementary
#2D7D4F #772D7D #7D2D33
monochromatic
#0D2316 #1D5033 #2D7D4F #3DAA6B #5FC58B

Accessibility & contrast

On white

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

On black

4.16
#2D7D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D7D4F#FFFFFF#000000##FFFFFF
##2D7D4F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734C
Deuteranopia (green-blind)
#726C52
Tritanopia (blue-blind)
#0B7C71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7d4f;
/* rgb */ color: rgb(45, 125, 79);
/* oklch */ color: oklch(52.8% 0.107 154.8);
Tailwind
colors: {
  custom: {
    50: '#6fa380',
    500: '#2d7d4f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d4f;
$custom-light: #6fa380;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d4f",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 79
  },
  "hsl": {
    "h": 145.5,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.10662,
    "h": 154.8
  },
  "luminance": 0.1579
}

Semantic roles & 50–950 ramp

primary
#2D7D4F
secondary
#AC5A89
accent
#519ED7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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