#2D7142#2D7142

#2D7142 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.2% C 0.102 H 151.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#2D7142
RGBrgb(45, 113, 66)
HSLhsl(139, 43%, 31%)
HSVhsv(139, 60%, 44%)
CMYKcmyk(60.2%, 0%, 41.6%, 55.7%)
CIE-LABlab(42.40, -32.88, 19.83)
CIE-LCHlch(42.40, 38.39, 148.91°)
OKLaboklab(49.22% -0.089 0.0493)
OKLCHoklch(49.22% 0.102 151)
XYZxyz(7.9701, 12.7608, 7.1963)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7142 #712D5C
analogous
#3A712D #2D7142 #2D7164
triadic
#2D7142 #422D71 #71422D
tetradic
#2D7142 #2D3A71 #712D5C #71642D
square
#2D7142 #2D3A71 #712D5C #71642D
split-complementary
#2D7142 #642D71 #712D3A
monochromatic
#0A190F #1C4528 #2D7142 #3E9D5C #5BBE79

Accessibility & contrast

On white

5.91
#2D7142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2D7142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7142
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7142#FFFFFF#000000##FFFFFF
##2D71421.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71683F
Deuteranopia (green-blind)
#686245
Tritanopia (blue-blind)
#1A6F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d7142;
/* rgb */ color: rgb(45, 113, 66);
/* oklch */ color: oklch(49.2% 0.102 151.0);
Tailwind
colors: {
  custom: {
    50: '#6d9a77',
    500: '#2d7142',
    950: '#000000',
  },
}
SCSS
$custom: #2d7142;
$custom-light: #6d9a77;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7142",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 138.529,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49217,
    "c": 0.10176,
    "h": 151
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#2D7142
secondary
#A3578B
accent
#55ACD3
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2D7142

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

Preview Lab → · Contrast checker → · Palette generator →

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