#2D5941#2D5941

#2D5941 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.5% C 0.064 H 158.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2D5941
RGBrgb(45, 89, 65)
HSLhsl(147, 33%, 26%)
HSVhsv(147, 49%, 35%)
CMYKcmyk(49.4%, 0%, 27%, 65.1%)
CIE-LABlab(34.16, -21.54, 9.27)
CIE-LCHlch(34.16, 23.45, 156.72°)
OKLaboklab(42.48% -0.0593 0.0237)
OKLCHoklch(42.48% 0.064 158.2)
XYZxyz(5.6083, 8.0839, 6.2648)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5941 #592D45
analogous
#2F592D #2D5941 #2D5957
triadic
#2D5941 #412D59 #59412D
tetradic
#2D5941 #2D2F59 #592D45 #59572D
square
#2D5941 #2D2F59 #592D45 #59572D
split-complementary
#2D5941 #572D59 #592D2F
monochromatic
#0A140F #183023 #2D5941 #42825F #57AA7C

Accessibility & contrast

On white

8.03
#2D5941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D5941 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5941
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5941#FFFFFF#000000##FFFFFF
##2D59411.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585340
Deuteranopia (green-blind)
#524E42
Tritanopia (blue-blind)
#225852
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5941;
/* rgb */ color: rgb(45, 89, 65);
/* oklch */ color: oklch(42.5% 0.064 158.2);
Tailwind
colors: {
  custom: {
    50: '#698875',
    500: '#2d5941',
    950: '#000000',
  },
}
SCSS
$custom: #2d5941;
$custom-light: #698875;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5941",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 65
  },
  "hsl": {
    "h": 147.273,
    "s": 32.836,
    "l": 26.275
  },
  "oklch": {
    "l": 0.42477,
    "c": 0.06382,
    "h": 158.2
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#2D5941
secondary
#8B5773
accent
#5F99C9
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #2D5941

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

Preview Lab → · Contrast checker → · Palette generator →

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