#2A2C20#2A2C20

#2A2C20 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.7% C 0.021 H 115.4°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#2A2C20
RGBrgb(42, 44, 32)
HSLhsl(70, 16%, 15%)
HSVhsv(70, 27%, 17%)
CMYKcmyk(4.5%, 0%, 27.3%, 82.7%)
CIE-LABlab(17.45, -3.52, 7.51)
CIE-LCHlch(17.45, 8.30, 115.11°)
OKLaboklab(28.71% -0.0091 0.0191)
OKLCHoklch(28.71% 0.021 115.4)
XYZxyz(2.1162, 2.3979, 1.7176)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C20 #22202C
analogous
#2C2820 #2A2C20 #242C20
triadic
#2A2C20 #202A2C #2C202A
tetradic
#2A2C20 #202C28 #22202C #2C2024
square
#2A2C20 #202C28 #22202C #2C2024
split-complementary
#2A2C20 #20242C #28202C
monochromatic
#11120D #11120D #2A2C20 #4C4F3A #6E7354

Accessibility & contrast

On white

14.19
#2A2C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2A2C20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2C20
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C20#FFFFFF#000000##FFFFFF
##2A2C201.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B1F
Deuteranopia (green-blind)
#2E2B20
Tritanopia (blue-blind)
#2B2B29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2c20;
/* rgb */ color: rgb(42, 44, 32);
/* oklch */ color: oklch(28.7% 0.021 115.4);
Tailwind
colors: {
  custom: {
    50: '#63655b',
    500: '#2a2c20',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c20;
$custom-light: #63655b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c20",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 32
  },
  "hsl": {
    "h": 70,
    "s": 15.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28711,
    "c": 0.02117,
    "h": 115.4
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#2A2C20
secondary
#4E4B5D
accent
#6FB97B
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050504
muted
#797A79

Preview Lab

Preview with #2A2C20

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

Preview Lab → · Contrast checker → · Palette generator →

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