#2D4E27#2D4E27

#2D4E27 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.8% C 0.074 H 140.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2D4E27
RGBrgb(45, 78, 39)
HSLhsl(111, 33%, 23%)
HSVhsv(111, 50%, 31%)
CMYKcmyk(42.3%, 0%, 50%, 69.4%)
CIE-LABlab(29.80, -21.01, 19.32)
CIE-LCHlch(29.80, 28.54, 137.40°)
OKLaboklab(38.76% -0.0574 0.0471)
OKLCHoklch(38.76% 0.074 140.6)
XYZxyz(4.1726, 6.1529, 2.8868)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E27 #48274E
analogous
#404E27 #2D4E27 #274E34
triadic
#2D4E27 #272D4E #4E272D
tetradic
#2D4E27 #27404E #48274E #4E3427
square
#2D4E27 #27404E #48274E #4E3427
split-complementary
#2D4E27 #34274E #4E2740
monochromatic
#0C140A #152513 #2D4E27 #45773B #5CA050

Accessibility & contrast

On white

9.41
#2D4E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2D4E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E27
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E27#FFFFFF#000000##FFFFFF
##2D4E271.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504824
Deuteranopia (green-blind)
#4B4529
Tritanopia (blue-blind)
#2A4C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e27;
/* rgb */ color: rgb(45, 78, 39);
/* oklch */ color: oklch(38.8% 0.074 140.6);
Tailwind
colors: {
  custom: {
    50: '#688062',
    500: '#2d4e27',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e27;
$custom-light: #688062;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e27",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 110.769,
    "s": 33.333,
    "l": 22.941
  },
  "oklch": {
    "l": 0.38756,
    "c": 0.07423,
    "h": 140.6
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#2D4E27
secondary
#795081
accent
#5EC9B9
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2D4E27

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

Preview Lab → · Contrast checker → · Palette generator →

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