#221812#221812

#221812 is a very dark, near-neutral orange. Relative luminance 0.010; OKLCH L 22.0% C 0.020 H 52.4°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#221812
RGBrgb(34, 24, 18)
HSLhsl(23, 31%, 10%)
HSVhsv(23, 47%, 13%)
CMYKcmyk(0%, 29.4%, 47.1%, 86.7%)
CIE-LABlab(9.30, 3.91, 5.81)
CIE-LCHlch(9.30, 7.00, 56.08°)
OKLaboklab(21.95% 0.0121 0.0156)
OKLCHoklch(21.95% 0.02 52.4)
XYZxyz(1.0955, 1.0371, 0.7146)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221812 #121C22
analogous
#221214 #221812 #222012
triadic
#221812 #122218 #181222
tetradic
#221812 #142212 #121C22 #201222
square
#221812 #142212 #121C22 #201222
split-complementary
#221812 #122220 #121422
monochromatic
#140E0B #140E0B #221812 #4A3427 #72503C

Accessibility & contrast

On white

17.39
#221812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#221812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221812
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221812#FFFFFF#000000##FFFFFF
##2218121.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1912
Deuteranopia (green-blind)
#1D1B12
Tritanopia (blue-blind)
#251616
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #221812;
/* rgb */ color: rgb(34, 24, 18);
/* oklch */ color: oklch(22.0% 0.020 52.4);
Tailwind
colors: {
  custom: {
    50: '#5d544f',
    500: '#221812',
    950: '#000000',
  },
}
SCSS
$custom: #221812;
$custom-light: #5d544f;
$custom-dark: #000000;
JSON
{
  "hex": "#221812",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 22.5,
    "s": 30.769,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21954,
    "c": 0.01973,
    "h": 52.4
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#221812
secondary
#384C57
accent
#A1C761
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040202
muted
#797878

Preview Lab

Preview with #221812

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

Preview Lab → · Contrast checker → · Palette generator →

#221812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva