#2A3A20#2A3A20

#2A3A20 is a dark, muted yellow-green. Relative luminance 0.036; OKLCH L 32.7% C 0.049 H 134.1°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2A3A20
RGBrgb(42, 58, 32)
HSLhsl(97, 29%, 18%)
HSVhsv(97, 45%, 23%)
CMYKcmyk(27.6%, 0%, 44.8%, 77.3%)
CIE-LABlab(22.38, -12.34, 14.10)
CIE-LCHlch(22.38, 18.74, 131.19°)
OKLaboklab(32.66% -0.0338 0.0348)
OKLCHoklch(32.66% 0.049 134.1)
XYZxyz(2.7286, 3.6226, 1.9217)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3A20 #30203A
analogous
#373A20 #2A3A20 #203A23
triadic
#2A3A20 #202A3A #3A202A
tetradic
#2A3A20 #20373A #30203A #3A2320
square
#2A3A20 #20373A #30203A #3A2320
split-complementary
#2A3A20 #23203A #3A2037
monochromatic
#0E140B #0E140B #2A3A20 #476136 #63894C

Accessibility & contrast

On white

12.18
#2A3A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2A3A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3A20
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3A20#FFFFFF#000000##FFFFFF
##2A3A201.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361E
Deuteranopia (green-blind)
#3A3521
Tritanopia (blue-blind)
#2A3834
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2a3a20;
/* rgb */ color: rgb(42, 58, 32);
/* oklch */ color: oklch(32.7% 0.049 134.1);
Tailwind
colors: {
  custom: {
    50: '#64705b',
    500: '#2a3a20',
    950: '#000000',
  },
}
SCSS
$custom: #2a3a20;
$custom-light: #64705b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3a20",
  "rgb": {
    "r": 42,
    "g": 58,
    "b": 32
  },
  "hsl": {
    "h": 96.923,
    "s": 28.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.32657,
    "c": 0.0485,
    "h": 134.1
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#2A3A20
secondary
#5F496D
accent
#63C59F
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#050704
muted
#7A7A79

Preview Lab

Preview with #2A3A20

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

Preview Lab → · Contrast checker → · Palette generator →

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