#2D4E28#2D4E28

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

Color values

HEX#2D4E28
RGBrgb(45, 78, 40)
HSLhsl(112, 32%, 23%)
HSVhsv(112, 49%, 31%)
CMYKcmyk(42.3%, 0%, 48.7%, 69.4%)
CIE-LABlab(29.81, -20.84, 18.75)
CIE-LCHlch(29.81, 28.03, 138.03°)
OKLaboklab(38.78% -0.0569 0.0458)
OKLCHoklch(38.78% 0.073 141.2)
XYZxyz(4.1894, 6.1596, 2.9753)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E28 #49284E
analogous
#404E28 #2D4E28 #284E36
triadic
#2D4E28 #282D4E #4E282D
tetradic
#2D4E28 #28404E #49284E #4E3628
square
#2D4E28 #28404E #49284E #4E3628
split-complementary
#2D4E28 #36284E #4E2840
monochromatic
#0C140A #162613 #2D4E28 #44763D #5C9F51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4E28#FFFFFF#000000##FFFFFF
##2D4E281.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)
#504825
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#2A4C45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e28;
/* rgb */ color: rgb(45, 78, 40);
/* oklch */ color: oklch(38.8% 0.073 141.2);
Tailwind
colors: {
  custom: {
    50: '#688062',
    500: '#2d4e28',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e28;
$custom-light: #688062;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e28",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 40
  },
  "hsl": {
    "h": 112.105,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.07306,
    "h": 141.2
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#2D4E28
secondary
#7A5181
accent
#5FC8BB
background
#F6F7F5
surface
#EBEEEA
border
#C6C9C6
text
#060A05
muted
#7A7C79

Preview Lab

Preview with #2D4E28

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

Preview Lab → · Contrast checker → · Palette generator →

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