#2D5740#2D5740

#2D5740 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.9% C 0.061 H 158.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2D5740
RGBrgb(45, 87, 64)
HSLhsl(147, 32%, 26%)
HSVhsv(147, 48%, 34%)
CMYKcmyk(48.3%, 0%, 26.4%, 65.9%)
CIE-LABlab(33.44, -20.72, 8.89)
CIE-LCHlch(33.44, 22.55, 156.77°)
OKLaboklab(41.89% -0.0571 0.0227)
OKLCHoklch(41.89% 0.061 158.3)
XYZxyz(5.4154, 7.7441, 6.0589)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5740 #572D44
analogous
#2F572D #2D5740 #2D5755
triadic
#2D5740 #402D57 #57402D
tetradic
#2D5740 #2D2F57 #572D44 #57552D
square
#2D5740 #2D2F57 #572D44 #57552D
split-complementary
#2D5740 #552D57 #572D2F
monochromatic
#0A140F #182F22 #2D5740 #427F5E #57A87B

Accessibility & contrast

On white

8.24
#2D5740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D5740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5740
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5740#FFFFFF#000000##FFFFFF
##2D57401.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56513F
Deuteranopia (green-blind)
#504D41
Tritanopia (blue-blind)
#235751
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5740;
/* rgb */ color: rgb(45, 87, 64);
/* oklch */ color: oklch(41.9% 0.061 158.3);
Tailwind
colors: {
  custom: {
    50: '#698674',
    500: '#2d5740',
    950: '#000000',
  },
}
SCSS
$custom: #2d5740;
$custom-light: #698674;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5740",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 64
  },
  "hsl": {
    "h": 147.143,
    "s": 31.818,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.06144,
    "h": 158.3
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#2D5740
secondary
#895772
accent
#6099C8
background
#F6F8F7
surface
#EBEFED
border
#C6CAC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #2D5740

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

Preview Lab → · Contrast checker → · Palette generator →

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