#2D342B#2D342B

#2D342B is a dark, near-neutral green. Relative luminance 0.032; OKLCH L 31.5% C 0.018 H 138.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#2D342B
RGBrgb(45, 52, 43)
HSLhsl(107, 9%, 19%)
HSVhsv(107, 17%, 20%)
CMYKcmyk(13.5%, 0%, 17.3%, 79.6%)
CIE-LABlab(20.78, -5.12, 4.70)
CIE-LCHlch(20.78, 6.95, 137.47°)
OKLaboklab(31.52% -0.0139 0.0122)
OKLCHoklch(31.52% 0.018 138.8)
XYZxyz(2.7461, 3.1883, 2.7557)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D342B #322B34
analogous
#31342B #2D342B #2B342D
triadic
#2D342B #2B2D34 #342B2D
tetradic
#2D342B #2B3134 #322B34 #342D2B
square
#2D342B #2B3134 #322B34 #342D2B
split-complementary
#2D342B #2D2B34 #342B31
monochromatic
#0E110E #10120F #2D342B #4A5547 #677762

Accessibility & contrast

On white

12.82
#2D342B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2D342B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D342B
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D342B#FFFFFF#000000##FFFFFF
##2D342B1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35322B
Deuteranopia (green-blind)
#33322B
Tritanopia (blue-blind)
#2D3331
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d342b;
/* rgb */ color: rgb(45, 52, 43);
/* oklch */ color: oklch(31.5% 0.018 138.8);
Tailwind
colors: {
  custom: {
    50: '#656b64',
    500: '#2d342b',
    950: '#000000',
  },
}
SCSS
$custom: #2d342b;
$custom-light: #656b64;
$custom-dark: #000000;
JSON
{
  "hex": "#2d342b",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 106.667,
    "s": 9.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31523,
    "c": 0.01843,
    "h": 138.8
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#2D342B
secondary
#615764
accent
#75B2A5
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2D342B

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

Preview Lab → · Contrast checker → · Palette generator →

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