#2D342A#2D342A

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

Color values

HEX#2D342A
RGBrgb(45, 52, 42)
HSLhsl(102, 11%, 18%)
HSVhsv(102, 19%, 20%)
CMYKcmyk(13.5%, 0%, 19.2%, 79.6%)
CIE-LABlab(20.75, -5.34, 5.34)
CIE-LCHlch(20.75, 7.55, 135.01°)
OKLaboklab(31.49% -0.0144 0.0138)
OKLCHoklch(31.49% 0.02 136.3)
XYZxyz(2.7280, 3.1810, 2.6603)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D342A #312A34
analogous
#32342A #2D342A #2A342C
triadic
#2D342A #2A2D34 #342A2D
tetradic
#2D342A #2A3234 #312A34 #342C2A
square
#2D342A #2A3234 #312A34 #342C2A
split-complementary
#2D342A #2C2A34 #342A32
monochromatic
#0F110E #10120F #2D342A #4A5645 #687861

Accessibility & contrast

On white

12.83
#2D342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D342A
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D342A#FFFFFF#000000##FFFFFF
##2D342A1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353229
Deuteranopia (green-blind)
#34322A
Tritanopia (blue-blind)
#2D3331
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d342a;
/* rgb */ color: rgb(45, 52, 42);
/* oklch */ color: oklch(31.5% 0.020 136.3);
Tailwind
colors: {
  custom: {
    50: '#666b63',
    500: '#2d342a',
    950: '#000000',
  },
}
SCSS
$custom: #2d342a;
$custom-light: #666b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2d342a",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 102,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31492,
    "c": 0.01992,
    "h": 136.3
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#2D342A
secondary
#605664
accent
#74B4A1
background
#F6F6F5
surface
#EBEBEA
border
#C6C6C6
text
#050605
muted
#7A7A79

Preview Lab

Preview with #2D342A

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

Preview Lab → · Contrast checker → · Palette generator →

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