#2A342E#2A342E

#2A342E is a dark, near-neutral green. Relative luminance 0.031; OKLCH L 31.4% C 0.017 H 158.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2A342E
RGBrgb(42, 52, 46)
HSLhsl(144, 11%, 18%)
HSVhsv(144, 19%, 20%)
CMYKcmyk(19.2%, 0%, 11.5%, 79.6%)
CIE-LABlab(20.62, -5.73, 2.39)
CIE-LCHlch(20.62, 6.20, 157.34°)
OKLaboklab(31.36% -0.0161 0.0062)
OKLCHoklch(31.36% 0.017 158.9)
XYZxyz(2.6759, 3.1454, 3.0504)
Luminance0.0314 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A342E #342A30
analogous
#2B342A #2A342E #2A3433
triadic
#2A342E #2E2A34 #342E2A
tetradic
#2A342E #2A2B34 #342A30 #34332A
square
#2A342E #2A2B34 #342A30 #34332A
split-complementary
#2A342E #332A34 #342A2B
monochromatic
#0E110F #0F1210 #2A342E #45564C #61786A

Accessibility & contrast

On white

12.89
#2A342E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A342E
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A342E#FFFFFF#000000##FFFFFF
##2A342E1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a342e;
/* rgb */ color: rgb(42, 52, 46);
/* oklch */ color: oklch(31.4% 0.017 158.9);
Tailwind
colors: {
  custom: {
    50: '#636b66',
    500: '#2a342e',
    950: '#000000',
  },
}
SCSS
$custom: #2a342e;
$custom-light: #636b66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a342e",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 144,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31356,
    "c": 0.01725,
    "h": 158.9
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#2A342E
secondary
#64565E
accent
#749AB4
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050606
muted
#797A7A

Preview Lab

Preview with #2A342E

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

Preview Lab → · Contrast checker → · Palette generator →

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