#2D6040#2D6040

#2D6040 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.4% C 0.077 H 154.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2D6040
RGBrgb(45, 96, 64)
HSLhsl(142, 36%, 28%)
HSVhsv(142, 53%, 38%)
CMYKcmyk(53.1%, 0%, 33.3%, 62.4%)
CIE-LABlab(36.54, -25.31, 13.17)
CIE-LCHlch(36.54, 28.53, 152.52°)
OKLaboklab(44.41% -0.069 0.0333)
OKLCHoklch(44.41% 0.077 154.3)
XYZxyz(6.1900, 9.2933, 6.3171)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6040 #602D4D
analogous
#33602D #2D6040 #2D6059
triadic
#2D6040 #402D60 #60402D
tetradic
#2D6040 #2D3360 #602D4D #60592D
square
#2D6040 #2D3360 #602D4D #60592D
split-complementary
#2D6040 #592D60 #602D33
monochromatic
#0A150E #193624 #2D6040 #418A5C #57B078

Accessibility & contrast

On white

7.35
#2D6040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2D6040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6040
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6040#FFFFFF#000000##FFFFFF
##2D60401.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60593E
Deuteranopia (green-blind)
#585442
Tritanopia (blue-blind)
#205F58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d6040;
/* rgb */ color: rgb(45, 96, 64);
/* oklch */ color: oklch(44.4% 0.077 154.3);
Tailwind
colors: {
  custom: {
    50: '#6a8d75',
    500: '#2d6040',
    950: '#000000',
  },
}
SCSS
$custom: #2d6040;
$custom-light: #6a8d75;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6040",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 64
  },
  "hsl": {
    "h": 142.353,
    "s": 36.17,
    "l": 27.647
  },
  "oklch": {
    "l": 0.44412,
    "c": 0.07666,
    "h": 154.3
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#2D6040
secondary
#92577C
accent
#5CA2CC
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C08
muted
#7A7D7B

Preview Lab

Preview with #2D6040

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

Preview Lab → · Contrast checker → · Palette generator →

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