#2A2212#2A2212

#2A2212 is a dark, muted orange. Relative luminance 0.017; OKLCH L 25.7% C 0.030 H 83.9°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#2A2212
RGBrgb(42, 34, 18)
HSLhsl(40, 40%, 12%)
HSVhsv(40, 57%, 16%)
CMYKcmyk(0%, 19%, 57.1%, 83.5%)
CIE-LABlab(13.71, 1.04, 12.05)
CIE-LCHlch(13.71, 12.09, 85.05°)
OKLaboklab(25.65% 0.0032 0.0296)
OKLCHoklch(25.65% 0.03 83.9)
XYZxyz(1.6361, 1.6800, 0.8103)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2212 #121A2A
analogous
#2A1612 #2A2212 #262A12
triadic
#2A2212 #122A22 #22122A
tetradic
#2A2212 #122A16 #121A2A #2A1226
square
#2A2212 #122A16 #121A2A #2A1226
split-complementary
#2A2212 #12262A #16122A
monochromatic
#151109 #151109 #2A2212 #554524 #806737

Accessibility & contrast

On white

15.72
#2A2212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2A2212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2212
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2212#FFFFFF#000000##FFFFFF
##2A22121.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262211
Deuteranopia (green-blind)
#282412
Tritanopia (blue-blind)
#2D1F1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a2212;
/* rgb */ color: rgb(42, 34, 18);
/* oklch */ color: oklch(25.7% 0.030 83.9);
Tailwind
colors: {
  custom: {
    50: '#645c50',
    500: '#2a2212',
    950: '#000000',
  },
}
SCSS
$custom: #2a2212;
$custom-light: #645c50;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2212",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 40,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.25652,
    "c": 0.02977,
    "h": 83.9
  },
  "luminance": 0.0168
}

Semantic roles & 50–950 ramp

primary
#2A2212
secondary
#374561
accent
#80D058
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050402
muted
#7A7978

Preview Lab

Preview with #2A2212

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

Preview Lab → · Contrast checker → · Palette generator →

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