#2D4E2A#2D4E2A

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

Color values

HEX#2D4E2A
RGBrgb(45, 78, 42)
HSLhsl(115, 30%, 24%)
HSVhsv(115, 46%, 31%)
CMYKcmyk(42.3%, 0%, 46.2%, 69.4%)
CIE-LABlab(29.85, -20.50, 17.59)
CIE-LCHlch(29.85, 27.01, 139.38°)
OKLaboklab(38.81% -0.0559 0.0433)
OKLCHoklch(38.81% 0.071 142.3)
XYZxyz(4.2243, 6.1736, 3.1591)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E2A #4B2A4E
analogous
#3F4E2A #2D4E2A #2A4E39
triadic
#2D4E2A #2A2D4E #4E2A2D
tetradic
#2D4E2A #2A3F4E #4B2A4E #4E392A
square
#2D4E2A #2A3F4E #4B2A4E #4E392A
split-complementary
#2D4E2A #392A4E #4E2A3F
monochromatic
#0B140B #162615 #2D4E2A #44763F #5B9E55

Accessibility & contrast

On white

9.40
#2D4E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4E2A
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E2A#FFFFFF#000000##FFFFFF
##2D4E2A1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4e2a;
/* rgb */ color: rgb(45, 78, 42);
/* oklch */ color: oklch(38.8% 0.071 142.3);
Tailwind
colors: {
  custom: {
    50: '#688064',
    500: '#2d4e2a',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e2a;
$custom-light: #688064;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e2a",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 115,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.38814,
    "c": 0.07069,
    "h": 142.3
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#2D4E2A
secondary
#7C5480
accent
#62C6BE
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A05
muted
#7A7C7A

Preview Lab

Preview with #2D4E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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