#2A342B#2A342B

#2A342B is a dark, muted green. Relative luminance 0.031; OKLCH L 31.3% C 0.021 H 147.8°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2A342B
RGBrgb(42, 52, 43)
HSLhsl(126, 11%, 18%)
HSVhsv(126, 19%, 20%)
CMYKcmyk(19.2%, 0%, 17.3%, 79.6%)
CIE-LABlab(20.53, -6.43, 4.30)
CIE-LCHlch(20.53, 7.74, 146.23°)
OKLaboklab(31.26% -0.0177 0.0111)
OKLCHoklch(31.26% 0.021 147.8)
XYZxyz(2.6188, 3.1226, 2.7498)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A342B #342A33
analogous
#2E342A #2A342B #2A3430
triadic
#2A342B #2B2A34 #342B2A
tetradic
#2A342B #2A2E34 #342A33 #34302A
square
#2A342B #2A2E34 #342A33 #34302A
split-complementary
#2A342B #302A34 #342A2E
monochromatic
#0E110E #0F120F #2A342B #455647 #617863

Accessibility & contrast

On white

12.93
#2A342B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A342B
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A342B#FFFFFF#000000##FFFFFF
##2A342B1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a342b;
/* rgb */ color: rgb(42, 52, 43);
/* oklch */ color: oklch(31.3% 0.021 147.8);
Tailwind
colors: {
  custom: {
    50: '#636b64',
    500: '#2a342b',
    950: '#000000',
  },
}
SCSS
$custom: #2a342b;
$custom-light: #636b64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a342b",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 126,
    "s": 10.638,
    "l": 18.431
  },
  "oklch": {
    "l": 0.31256,
    "c": 0.0209,
    "h": 147.8
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#2A342B
secondary
#645662
accent
#74ADB4
background
#F5F6F5
surface
#EAEBEA
border
#C6C6C6
text
#050605
muted
#797A79

Preview Lab

Preview with #2A342B

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

Preview Lab → · Contrast checker → · Palette generator →

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