#2A3420#2A3420

#2A3420 is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 30.9% C 0.037 H 129.9°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#2A3420
RGBrgb(42, 52, 32)
HSLhsl(90, 24%, 16%)
HSVhsv(90, 38%, 20%)
CMYKcmyk(19.2%, 0%, 38.5%, 79.6%)
CIE-LABlab(20.25, -8.69, 11.31)
CIE-LCHlch(20.25, 14.26, 127.56°)
OKLaboklab(30.95% -0.0236 0.0282)
OKLCHoklch(30.95% 0.037 129.9)
XYZxyz(2.4435, 3.0525, 1.8267)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3420 #2A2034
analogous
#343420 #2A3420 #203420
triadic
#2A3420 #202A34 #34202A
tetradic
#2A3420 #203434 #2A2034 #342020
square
#2A3420 #203434 #2A2034 #342020
split-complementary
#2A3420 #202034 #342034
monochromatic
#0F130C #0F130C #2A3420 #495A37 #67804F

Accessibility & contrast

On white

13.04
#2A3420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A3420 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3420
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3420#FFFFFF#000000##FFFFFF
##2A34201.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36311F
Deuteranopia (green-blind)
#343121
Tritanopia (blue-blind)
#2B322F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a3420;
/* rgb */ color: rgb(42, 52, 32);
/* oklch */ color: oklch(30.9% 0.037 129.9);
Tailwind
colors: {
  custom: {
    50: '#646b5b',
    500: '#2a3420',
    950: '#000000',
  },
}
SCSS
$custom: #2a3420;
$custom-light: #646b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3420",
  "rgb": {
    "r": 42,
    "g": 52,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 23.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.30945,
    "c": 0.03682,
    "h": 129.9
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#2A3420
secondary
#584967
accent
#68C094
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #2A3420

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

Preview Lab → · Contrast checker → · Palette generator →

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