#2A3622#2A3622

#2A3622 is a dark, muted yellow-green. Relative luminance 0.032; OKLCH L 31.6% C 0.038 H 133.4°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2A3622
RGBrgb(42, 54, 34)
HSLhsl(96, 23%, 17%)
HSVhsv(96, 37%, 21%)
CMYKcmyk(22.2%, 0%, 37%, 78.8%)
CIE-LABlab(21.00, -9.57, 10.99)
CIE-LCHlch(21.00, 14.57, 131.04°)
OKLaboklab(31.56% -0.026 0.0275)
OKLCHoklch(31.56% 0.038 133.4)
XYZxyz(2.5627, 3.2460, 2.0046)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3622 #2E2236
analogous
#343622 #2A3622 #223624
triadic
#2A3622 #222A36 #36222A
tetradic
#2A3622 #223436 #2E2236 #362422
square
#2A3622 #223436 #2E2236 #362422
split-complementary
#2A3622 #242236 #362234
monochromatic
#0F130C #0F130C #2A3622 #475C3A #648151

Accessibility & contrast

On white

12.73
#2A3622 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2A3622 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3622
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3622#FFFFFF#000000##FFFFFF
##2A36221.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383321
Deuteranopia (green-blind)
#363223
Tritanopia (blue-blind)
#2A3431
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2a3622;
/* rgb */ color: rgb(42, 54, 34);
/* oklch */ color: oklch(31.6% 0.038 133.4);
Tailwind
colors: {
  custom: {
    50: '#646d5d',
    500: '#2a3622',
    950: '#000000',
  },
}
SCSS
$custom: #2a3622;
$custom-light: #646d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3622",
  "rgb": {
    "r": 42,
    "g": 54,
    "b": 34
  },
  "hsl": {
    "h": 96,
    "s": 22.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.31561,
    "c": 0.03788,
    "h": 133.4
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#2A3622
secondary
#5D4C68
accent
#69BF9D
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050704
muted
#797A79

Preview Lab

Preview with #2A3622

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

Preview Lab → · Contrast checker → · Palette generator →

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