#2A3A22#2A3A22

#2A3A22 is a dark, muted green. Relative luminance 0.036; OKLCH L 32.7% C 0.046 H 135.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#2A3A22
RGBrgb(42, 58, 34)
HSLhsl(100, 26%, 18%)
HSVhsv(100, 41%, 23%)
CMYKcmyk(27.6%, 0%, 41.4%, 77.3%)
CIE-LABlab(22.42, -11.99, 12.87)
CIE-LCHlch(22.42, 17.59, 132.97°)
OKLaboklab(32.7% -0.0327 0.032)
OKLCHoklch(32.7% 0.046 135.6)
XYZxyz(2.7566, 3.6338, 2.0692)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A22 #32223A
analogous
#363A22 #2A3A22 #223A26
triadic
#2A3A22 #222A3A #3A222A
tetradic
#2A3A22 #22363A #32223A #3A2622
square
#2A3A22 #22363A #32223A #3A2622
split-complementary
#2A3A22 #26223A #3A2236
monochromatic
#0E130B #0E130B #2A3A22 #466139 #62874F

Accessibility & contrast

On white

12.16
#2A3A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2A3A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A22
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A22#FFFFFF#000000##FFFFFF
##2A3A221.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3620
Deuteranopia (green-blind)
#393523
Tritanopia (blue-blind)
#2A3834
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a3a22;
/* rgb */ color: rgb(42, 58, 34);
/* oklch */ color: oklch(32.7% 0.046 135.6);
Tailwind
colors: {
  custom: {
    50: '#64705d',
    500: '#2a3a22',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a22;
$custom-light: #64705d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a22",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 34
  },
  "hsl": {
    "h": 100,
    "s": 26.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.32702,
    "c": 0.04577,
    "h": 135.6
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

primary
#2A3A22
secondary
#614B6D
accent
#65C2A3
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#050704
muted
#7A7A79

Preview Lab

Preview with #2A3A22

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

Preview Lab → · Contrast checker → · Palette generator →

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