#2A342A#2A342A

#2A342A is a dark, muted green. Relative luminance 0.031; OKLCH L 31.2% C 0.022 H 145.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#2A342A
RGBrgb(42, 52, 42)
HSLhsl(120, 11%, 18%)
HSVhsv(120, 19%, 20%)
CMYKcmyk(19.2%, 0%, 19.2%, 79.6%)
CIE-LABlab(20.50, -6.66, 4.94)
CIE-LCHlch(20.50, 8.29, 143.43°)
OKLaboklab(31.22% -0.0182 0.0127)
OKLCHoklch(31.22% 0.022 145)
XYZxyz(2.6007, 3.1153, 2.6543)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A342A #342A34
analogous
#2F342A #2A342A #2A342F
triadic
#2A342A #2A2A34 #342A2A
tetradic
#2A342A #2A2F34 #342A34 #342F2A
square
#2A342A #2A2F34 #342A34 #342F2A
split-complementary
#2A342A #2F2A34 #342A2F
monochromatic
#0E110E #0F120F #2A342A #455645 #617861

Accessibility & contrast

On white

12.94
#2A342A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2A342A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A342A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A342A#FFFFFF#000000##FFFFFF
##2A342A1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343229
Deuteranopia (green-blind)
#33312A
Tritanopia (blue-blind)
#293331
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a342a;
/* rgb */ color: rgb(42, 52, 42);
/* oklch */ color: oklch(31.2% 0.022 145.0);
Tailwind
colors: {
  custom: {
    50: '#636b63',
    500: '#2a342a',
    950: '#000000',
  },
}
SCSS
$custom: #2a342a;
$custom-light: #636b63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a342a",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 120,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31224,
    "c": 0.02225,
    "h": 145
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#2A342A
secondary
#645664
accent
#74B4B4
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #2A342A

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

Preview Lab → · Contrast checker → · Palette generator →

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