#2A2C22#2A2C22

#2A2C22 is a dark, near-neutral yellow-green. Relative luminance 0.024; OKLCH L 28.8% C 0.018 H 116.7°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#2A2C22
RGBrgb(42, 44, 34)
HSLhsl(72, 13%, 15%)
HSVhsv(72, 23%, 17%)
CMYKcmyk(4.5%, 0%, 22.7%, 82.7%)
CIE-LABlab(17.50, -3.13, 6.21)
CIE-LCHlch(17.50, 6.95, 116.74°)
OKLaboklab(28.77% -0.008 0.0159)
OKLCHoklch(28.77% 0.018 116.7)
XYZxyz(2.1442, 2.4091, 1.8651)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2C22 #24222C
analogous
#2C2922 #2A2C22 #252C22
triadic
#2A2C22 #222A2C #2C222A
tetradic
#2A2C22 #222C29 #24222C #2C2225
square
#2A2C22 #222C29 #24222C #2C2225
split-complementary
#2A2C22 #22252C #29222C
monochromatic
#10110D #10110D #2A2C22 #4B4F3D #6C7157

Accessibility & contrast

On white

14.17
#2A2C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2C22
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2C22#FFFFFF#000000##FFFFFF
##2A2C221.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2c22;
/* rgb */ color: rgb(42, 44, 34);
/* oklch */ color: oklch(28.8% 0.018 116.7);
Tailwind
colors: {
  custom: {
    50: '#63655d',
    500: '#2a2c22',
    950: '#000000',
  },
}
SCSS
$custom: #2a2c22;
$custom-light: #63655d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2c22",
  "rgb": {
    "r": 42,
    "g": 44,
    "b": 34
  },
  "hsl": {
    "h": 72,
    "s": 12.821,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28769,
    "c": 0.01782,
    "h": 116.7
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#2A2C22
secondary
#504D5D
accent
#72B680
background
#F5F6F5
surface
#EAEBE9
border
#C6C6C5
text
#050504
muted
#797A79

Preview Lab

Preview with #2A2C22

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

Preview Lab → · Contrast checker → · Palette generator →

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