#2A342D#2A342D

#2A342D is a dark, near-neutral green. Relative luminance 0.031; OKLCH L 31.3% C 0.018 H 154.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2A342D
RGBrgb(42, 52, 45)
HSLhsl(138, 11%, 18%)
HSVhsv(138, 19%, 20%)
CMYKcmyk(19.2%, 0%, 13.5%, 79.6%)
CIE-LABlab(20.59, -5.97, 3.03)
CIE-LCHlch(20.59, 6.69, 153.10°)
OKLaboklab(31.32% -0.0166 0.0079)
OKLCHoklch(31.32% 0.018 154.7)
XYZxyz(2.6564, 3.1376, 2.9478)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A342D #342A31
analogous
#2C342A #2A342D #2A3432
triadic
#2A342D #2D2A34 #342D2A
tetradic
#2A342D #2A2C34 #342A31 #34322A
square
#2A342D #2A2C34 #342A31 #34322A
split-complementary
#2A342D #322A34 #342A2C
monochromatic
#0E110F #0F1210 #2A342D #45564A #617868

Accessibility & contrast

On white

12.90
#2A342D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2A342D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A342D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A342D#FFFFFF#000000##FFFFFF
##2A342D1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34322D
Deuteranopia (green-blind)
#32312D
Tritanopia (blue-blind)
#293432
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a342d;
/* rgb */ color: rgb(42, 52, 45);
/* oklch */ color: oklch(31.3% 0.018 154.7);
Tailwind
colors: {
  custom: {
    50: '#636b65',
    500: '#2a342d',
    950: '#000000',
  },
}
SCSS
$custom: #2a342d;
$custom-light: #636b65;
$custom-dark: #000000;
JSON
{
  "hex": "#2a342d",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 138,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31322,
    "c": 0.01838,
    "h": 154.7
  },
  "luminance": 0.03138
}

Semantic roles & 50–950 ramp

primary
#2A342D
secondary
#645660
accent
#74A1B4
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050605
muted
#797A7A

Preview Lab

Preview with #2A342D

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

Preview Lab → · Contrast checker → · Palette generator →

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