#2C2A22#2C2A22

#2C2A22 is a dark, near-neutral yellow. Relative luminance 0.023; OKLCH L 28.4% C 0.014 H 95.5°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#2C2A22
RGBrgb(44, 42, 34)
HSLhsl(48, 13%, 15%)
HSVhsv(48, 23%, 17%)
CMYKcmyk(0%, 4.5%, 22.7%, 82.7%)
CIE-LABlab(17.02, -0.81, 5.57)
CIE-LCHlch(17.02, 5.62, 98.28°)
OKLaboklab(28.44% -0.0014 0.0143)
OKLCHoklch(28.44% 0.014 95.5)
XYZxyz(2.1554, 2.3069, 1.8448)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A22 #22242C
analogous
#2C2522 #2C2A22 #292C22
triadic
#2C2A22 #222C2A #2A222C
tetradic
#2C2A22 #222C25 #22242C #2C2229
square
#2C2A22 #222C25 #22242C #2C2229
split-complementary
#2C2A22 #22292C #25222C
monochromatic
#11100D #11100D #2C2A22 #4F4B3D #716C57

Accessibility & contrast

On white

14.37
#2C2A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2C2A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A22
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A22#FFFFFF#000000##FFFFFF
##2C2A221.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2A22
Deuteranopia (green-blind)
#2C2A22
Tritanopia (blue-blind)
#2E2928
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2c2a22;
/* rgb */ color: rgb(44, 42, 34);
/* oklch */ color: oklch(28.4% 0.014 95.5);
Tailwind
colors: {
  custom: {
    50: '#65635d',
    500: '#2c2a22',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a22;
$custom-light: #65635d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a22",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 34
  },
  "hsl": {
    "h": 48,
    "s": 12.821,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28439,
    "c": 0.0144,
    "h": 95.5
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#2C2A22
secondary
#4D505D
accent
#80B672
background
#F6F5F5
surface
#EBEAE9
border
#C6C6C5
text
#050504
muted
#7A7979

Preview Lab

Preview with #2C2A22

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

Preview Lab → · Contrast checker → · Palette generator →

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