#2A3A2C#2A3A2C

#2A3A2C is a dark, muted green. Relative luminance 0.037; OKLCH L 33.0% C 0.032 H 148.1°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#2A3A2C
RGBrgb(42, 58, 44)
HSLhsl(128, 16%, 20%)
HSVhsv(128, 28%, 23%)
CMYKcmyk(27.6%, 0%, 24.1%, 77.3%)
CIE-LABlab(22.65, -9.97, 6.63)
CIE-LCHlch(22.65, 11.97, 146.40°)
OKLaboklab(32.97% -0.0274 0.017)
OKLCHoklch(32.97% 0.032 148.1)
XYZxyz(2.9224, 3.7001, 2.9426)
Luminance0.0370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A2C #3A2A38
analogous
#303A2A #2A3A2C #2A3A34
triadic
#2A3A2C #2C2A3A #3A2C2A
tetradic
#2A3A2C #2A303A #3A2A38 #3A342A
square
#2A3A2C #2A303A #3A2A38 #3A342A
split-complementary
#2A3A2C #342A3A #3A2A30
monochromatic
#0D120D #101711 #2A3A2C #445D47 #5D8162

Accessibility & contrast

On white

12.07
#2A3A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2A3A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A2C
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A2C#FFFFFF#000000##FFFFFF
##2A3A2C1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372B
Deuteranopia (green-blind)
#38352D
Tritanopia (blue-blind)
#283936
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3a2c;
/* rgb */ color: rgb(42, 58, 44);
/* oklch */ color: oklch(33.0% 0.032 148.1);
Tailwind
colors: {
  custom: {
    50: '#647065',
    500: '#2a3a2c',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a2c;
$custom-light: #647065;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a2c",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 44
  },
  "hsl": {
    "h": 127.5,
    "s": 16,
    "l": 19.608
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.03221,
    "h": 148.1
  },
  "luminance": 0.037
}

Semantic roles & 50–950 ramp

primary
#2A3A2C
secondary
#6B5568
accent
#6FB0B9
background
#F5F6F6
surface
#EAECEB
border
#C6C7C6
text
#050705
muted
#797A7A

Preview Lab

Preview with #2A3A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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