#2A3830#2A3830

#2A3830 is a dark, muted green. Relative luminance 0.035; OKLCH L 32.5% C 0.023 H 159.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#2A3830
RGBrgb(42, 56, 48)
HSLhsl(146, 14%, 19%)
HSVhsv(146, 25%, 22%)
CMYKcmyk(25%, 0%, 14.3%, 78%)
CIE-LABlab(22.07, -7.80, 3.12)
CIE-LCHlch(22.07, 8.40, 158.20°)
OKLaboklab(32.53% -0.0219 0.0081)
OKLCHoklch(32.53% 0.023 159.7)
XYZxyz(2.9024, 3.5339, 3.3249)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3830 #382A32
analogous
#2B382A #2A3830 #2A3837
triadic
#2A3830 #302A38 #38302A
tetradic
#2A3830 #2A2B38 #382A32 #38372A
square
#2A3830 #2A2B38 #382A32 #38372A
split-complementary
#2A3830 #372A38 #382A2B
monochromatic
#0D110F #101512 #2A3830 #445B4E #5E7E6C

Accessibility & contrast

On white

12.30
#2A3830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2A3830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3830
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3830#FFFFFF#000000##FFFFFF
##2A38301.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383630
Deuteranopia (green-blind)
#353430
Tritanopia (blue-blind)
#273836
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3830;
/* rgb */ color: rgb(42, 56, 48);
/* oklch */ color: oklch(32.5% 0.023 159.7);
Tailwind
colors: {
  custom: {
    50: '#636e68',
    500: '#2a3830',
    950: '#000000',
  },
}
SCSS
$custom: #2a3830;
$custom-light: #636e68;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3830",
  "rgb": {
    "r": 42,
    "g": 56,
    "b": 48
  },
  "hsl": {
    "h": 145.714,
    "s": 14.286,
    "l": 19.216
  },
  "oklch": {
    "l": 0.32531,
    "c": 0.02331,
    "h": 159.7
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#2A3830
secondary
#685560
accent
#7199B7
background
#F5F6F6
surface
#EAEBEB
border
#C6C6C6
text
#050706
muted
#797A7A

Preview Lab

Preview with #2A3830

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

Preview Lab → · Contrast checker → · Palette generator →

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