#2D7F47#2D7F47

#2D7F47 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.2% C 0.118 H 150.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2D7F47
RGBrgb(45, 127, 71)
HSLhsl(139, 48%, 34%)
HSVhsv(139, 65%, 50%)
CMYKcmyk(64.6%, 0%, 44.1%, 50.2%)
CIE-LABlab(47.22, -37.99, 23.30)
CIE-LCHlch(47.22, 44.57, 148.48°)
OKLaboklab(53.21% -0.1026 0.0576)
OKLCHoklch(53.21% 0.118 150.7)
XYZxyz(9.8081, 16.1906, 8.5682)
Luminance0.1619 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F47 #7F2D65
analogous
#3C7F2D #2D7F47 #2D7F70
triadic
#2D7F47 #472D7F #7F472D
tetradic
#2D7F47 #2D3C7F #7F2D65 #7F702D
square
#2D7F47 #2D3C7F #7F2D65 #7F702D
split-complementary
#2D7F47 #702D7F #7F2D3C
monochromatic
#0D2514 #1D522E #2D7F47 #3DAC60 #60C780

Accessibility & contrast

On white

4.95
#2D7F47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2D7F47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7F47
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F47#FFFFFF#000000##FFFFFF
##2D7F471.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807443
Deuteranopia (green-blind)
#756D4B
Tritanopia (blue-blind)
#117D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d7f47;
/* rgb */ color: rgb(45, 127, 71);
/* oklch */ color: oklch(53.2% 0.118 150.7);
Tailwind
colors: {
  custom: {
    50: '#6fa57b',
    500: '#2d7f47',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f47;
$custom-light: #6fa57b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f47",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 71
  },
  "hsl": {
    "h": 139.024,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53207,
    "c": 0.11766,
    "h": 150.7
  },
  "luminance": 0.16192
}

Semantic roles & 50–950 ramp

primary
#2D7F47
secondary
#AD5B93
accent
#51ADD7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2D7F47

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

Preview Lab → · Contrast checker → · Palette generator →

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