#2D4E31#2D4E31

#2D4E31 is a dark, moderate green. Relative luminance 0.062; OKLCH L 39.0% C 0.062 H 147.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2D4E31
RGBrgb(45, 78, 49)
HSLhsl(127, 27%, 24%)
HSVhsv(127, 42%, 31%)
CMYKcmyk(42.3%, 0%, 37.2%, 69.4%)
CIE-LABlab(29.98, -19.20, 13.48)
CIE-LCHlch(29.98, 23.46, 144.93°)
OKLaboklab(38.97% -0.0523 0.0338)
OKLCHoklch(38.97% 0.062 147.1)
XYZxyz(4.3607, 6.2282, 3.8775)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E31 #4E2D4A
analogous
#3A4E2D #2D4E31 #2D4E42
triadic
#2D4E31 #312D4E #4E312D
tetradic
#2D4E31 #2D3A4E #4E2D4A #4E422D
square
#2D4E31 #2D3A4E #4E2D4A #4E422D
split-complementary
#2D4E31 #422D4E #4E2D3A
monochromatic
#0B130C #172719 #2D4E31 #437549 #5A9C62

Accessibility & contrast

On white

9.35
#2D4E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D4E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E31
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E31#FFFFFF#000000##FFFFFF
##2D4E311.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492F
Deuteranopia (green-blind)
#4A4533
Tritanopia (blue-blind)
#284D47
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4e31;
/* rgb */ color: rgb(45, 78, 49);
/* oklch */ color: oklch(39.0% 0.062 147.1);
Tailwind
colors: {
  custom: {
    50: '#688069',
    500: '#2d4e31',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e31;
$custom-light: #688069;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e31",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 49
  },
  "hsl": {
    "h": 127.273,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.38968,
    "c": 0.06231,
    "h": 147.1
  },
  "luminance": 0.06228
}

Semantic roles & 50–950 ramp

primary
#2D4E31
secondary
#80577B
accent
#65B8C3
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A06
muted
#7A7C7A

Preview Lab

Preview with #2D4E31

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

Preview Lab → · Contrast checker → · Palette generator →

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