#2D7D45#2D7D45

#2D7D45 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.6% C 0.117 H 150.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2D7D45
RGBrgb(45, 125, 69)
HSLhsl(138, 47%, 33%)
HSVhsv(138, 64%, 49%)
CMYKcmyk(64%, 0%, 44.8%, 51%)
CIE-LABlab(46.52, -37.52, 23.50)
CIE-LCHlch(46.52, 44.27, 147.94°)
OKLaboklab(52.62% -0.1013 0.0579)
OKLCHoklch(52.62% 0.117 150.2)
XYZxyz(9.4893, 15.6539, 8.1505)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7D45 #7D2D65
analogous
#3D7D2D #2D7D45 #2D7D6D
triadic
#2D7D45 #452D7D #7D452D
tetradic
#2D7D45 #2D3D7D #7D2D65 #7D6D2D
square
#2D7D45 #2D3D7D #7D2D65 #7D6D2D
split-complementary
#2D7D45 #6D2D7D #7D2D3D
monochromatic
#0D2313 #1D502C #2D7D45 #3DAA5E #5FC57E

Accessibility & contrast

On white

5.08
#2D7D45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2D7D45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7D45
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7D45#FFFFFF#000000##FFFFFF
##2D7D451.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7341
Deuteranopia (green-blind)
#736B49
Tritanopia (blue-blind)
#137B6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d7d45;
/* rgb */ color: rgb(45, 125, 69);
/* oklch */ color: oklch(52.6% 0.117 150.2);
Tailwind
colors: {
  custom: {
    50: '#6fa379',
    500: '#2d7d45',
    950: '#000000',
  },
}
SCSS
$custom: #2d7d45;
$custom-light: #6fa379;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7d45",
  "rgb": {
    "r": 45,
    "g": 125,
    "b": 69
  },
  "hsl": {
    "h": 138,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.11674,
    "h": 150.2
  },
  "luminance": 0.15655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7D45

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

Preview Lab → · Contrast checker → · Palette generator →

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