#2D7C45#2D7C45

#2D7C45 is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.3% C 0.115 H 150.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2D7C45
RGBrgb(45, 124, 69)
HSLhsl(138, 47%, 33%)
HSVhsv(138, 64%, 49%)
CMYKcmyk(63.7%, 0%, 44.4%, 51.4%)
CIE-LABlab(46.18, -37.09, 23.06)
CIE-LCHlch(46.18, 43.68, 148.13°)
OKLaboklab(52.34% -0.1002 0.0569)
OKLCHoklch(52.34% 0.115 150.4)
XYZxyz(9.3633, 15.4019, 8.1085)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7C45 #7C2D64
analogous
#3C7C2D #2D7C45 #2D7C6C
triadic
#2D7C45 #452D7C #7C452D
tetradic
#2D7C45 #2D3C7C #7C2D64 #7C6C2D
square
#2D7C45 #2D3C7C #7C2D64 #7C6C2D
split-complementary
#2D7C45 #6C2D7C #7C2D3C
monochromatic
#0C2213 #1D4F2C #2D7C45 #3DA95E #5FC57E

Accessibility & contrast

On white

5.15
#2D7C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2D7C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7C45
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7C45#FFFFFF#000000##FFFFFF
##2D7C451.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7241
Deuteranopia (green-blind)
#726B49
Tritanopia (blue-blind)
#147A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7c45;
/* rgb */ color: rgb(45, 124, 69);
/* oklch */ color: oklch(52.3% 0.115 150.4);
Tailwind
colors: {
  custom: {
    50: '#6fa379',
    500: '#2d7c45',
    950: '#000000',
  },
}
SCSS
$custom: #2d7c45;
$custom-light: #6fa379;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7c45",
  "rgb": {
    "r": 45,
    "g": 124,
    "b": 69
  },
  "hsl": {
    "h": 138.228,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.11527,
    "h": 150.4
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#2D7C45
secondary
#AB5A92
accent
#51AED6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D7C45

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

Preview Lab → · Contrast checker → · Palette generator →

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