#2D7E45#2D7E45

#2D7E45 is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.9% C 0.118 H 150.1°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2D7E45
RGBrgb(45, 126, 69)
HSLhsl(138, 47%, 34%)
HSVhsv(138, 64%, 49%)
CMYKcmyk(64.3%, 0%, 45.2%, 50.6%)
CIE-LABlab(46.85, -37.94, 23.93)
CIE-LCHlch(46.85, 44.86, 147.75°)
OKLaboklab(52.89% -0.1025 0.059)
OKLCHoklch(52.89% 0.118 150.1)
XYZxyz(9.6165, 15.9083, 8.1929)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7E45 #7E2D66
analogous
#3D7E2D #2D7E45 #2D7E6D
triadic
#2D7E45 #452D7E #7E452D
tetradic
#2D7E45 #2D3D7E #7E2D66 #7E6D2D
square
#2D7E45 #2D3D7E #7E2D66 #7E6D2D
split-complementary
#2D7E45 #6D2D7E #7E2D3D
monochromatic
#0D2414 #1D512C #2D7E45 #3DAB5E #5FC67E

Accessibility & contrast

On white

5.02
#2D7E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2D7E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7E45
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7E45#FFFFFF#000000##FFFFFF
##2D7E451.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7341
Deuteranopia (green-blind)
#746C49
Tritanopia (blue-blind)
#137C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7e45;
/* rgb */ color: rgb(45, 126, 69);
/* oklch */ color: oklch(52.9% 0.118 150.1);
Tailwind
colors: {
  custom: {
    50: '#6fa479',
    500: '#2d7e45',
    950: '#000000',
  },
}
SCSS
$custom: #2d7e45;
$custom-light: #6fa479;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7e45",
  "rgb": {
    "r": 45,
    "g": 126,
    "b": 69
  },
  "hsl": {
    "h": 137.778,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.11822,
    "h": 150.1
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#2D7E45
secondary
#AC5A94
accent
#51AFD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D7E45

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

Preview Lab → · Contrast checker → · Palette generator →

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