#2D7C4F#2D7C4F

#2D7C4F is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.105 H 155.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2D7C4F
RGBrgb(45, 124, 79)
HSLhsl(146, 47%, 33%)
HSVhsv(146, 64%, 49%)
CMYKcmyk(63.7%, 0%, 36.3%, 51.4%)
CIE-LABlab(46.36, -35.14, 17.64)
CIE-LCHlch(46.36, 39.31, 153.35°)
OKLaboklab(52.55% -0.0953 0.0443)
OKLCHoklch(52.55% 0.105 155.1)
XYZxyz(9.7003, 15.5367, 9.8833)
Luminance0.1554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C4F #7C2D5A
analogous
#327C2D #2D7C4F #2D7C76
triadic
#2D7C4F #4F2D7C #7C4F2D
tetradic
#2D7C4F #2D327C #7C2D5A #7C762D
square
#2D7C4F #2D327C #7C2D5A #7C762D
split-complementary
#2D7C4F #762D7C #7C2D32
monochromatic
#0C2216 #1D4F32 #2D7C4F #3DA96C #5FC58B

Accessibility & contrast

On white

5.11
#2D7C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2D7C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C4F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C4F#FFFFFF#000000##FFFFFF
##2D7C4F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724C
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#0B7B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7c4f;
/* rgb */ color: rgb(45, 124, 79);
/* oklch */ color: oklch(52.5% 0.105 155.1);
Tailwind
colors: {
  custom: {
    50: '#6fa280',
    500: '#2d7c4f',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c4f;
$custom-light: #6fa280;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c4f",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 79
  },
  "hsl": {
    "h": 145.823,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.10514,
    "h": 155.1
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#2D7C4F
secondary
#AB5A88
accent
#519DD6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #2D7C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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