#2A3222#2A3222

#2A3222 is a dark, muted yellow-green. Relative luminance 0.029; OKLCH L 30.4% C 0.030 H 129.6°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#2A3222
RGBrgb(42, 50, 34)
HSLhsl(90, 19%, 16%)
HSVhsv(90, 32%, 20%)
CMYKcmyk(16%, 0%, 32%, 80.4%)
CIE-LABlab(19.59, -7.06, 9.09)
CIE-LCHlch(19.59, 11.50, 127.84°)
OKLaboklab(30.43% -0.019 0.023)
OKLCHoklch(30.43% 0.03 129.6)
XYZxyz(2.3841, 2.8889, 1.9451)
Luminance0.0289 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3222 #2A2232
analogous
#323222 #2A3222 #223222
triadic
#2A3222 #222A32 #32222A
tetradic
#2A3222 #223232 #2A2232 #322222
square
#2A3222 #223232 #2A2232 #322222
split-complementary
#2A3222 #222232 #322232
monochromatic
#0F120C #0F120C #2A3222 #49563B #677B54

Accessibility & contrast

On white

13.31
#2A3222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2A3222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3222
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3222#FFFFFF#000000##FFFFFF
##2A32221.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343021
Deuteranopia (green-blind)
#322F23
Tritanopia (blue-blind)
#2B312E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a3222;
/* rgb */ color: rgb(42, 50, 34);
/* oklch */ color: oklch(30.4% 0.030 129.6);
Tailwind
colors: {
  custom: {
    50: '#63695d',
    500: '#2a3222',
    950: '#000000',
  },
}
SCSS
$custom: #2a3222;
$custom-light: #63695d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3222",
  "rgb": {
    "r": 42,
    "g": 50,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 19.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.30433,
    "c": 0.02982,
    "h": 129.6
  },
  "luminance": 0.02889
}

Semantic roles & 50–950 ramp

primary
#2A3222
secondary
#584C64
accent
#6CBC94
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050604
muted
#797A79

Preview Lab

Preview with #2A3222

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

Preview Lab → · Contrast checker → · Palette generator →

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