#22220C#22220C

#22220C is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.6% C 0.037 H 108.8°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#22220C
RGBrgb(34, 34, 12)
HSLhsl(60, 48%, 9%)
HSVhsv(60, 65%, 13%)
CMYKcmyk(0%, 0%, 64.7%, 86.7%)
CIE-LABlab(12.68, -4.09, 13.69)
CIE-LCHlch(12.68, 14.28, 106.62°)
OKLaboklab(24.58% -0.0118 0.0348)
OKLCHoklch(24.58% 0.037 108.8)
XYZxyz(1.2981, 1.5107, 0.5710)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22220C #0C0C22
analogous
#22170C #22220C #17220C
triadic
#22220C #0C2222 #220C22
tetradic
#22220C #0C2217 #0C0C22 #220C17
square
#22220C #0C2217 #0C0C22 #220C17
split-complementary
#22220C #0C1722 #170C22
monochromatic
#171708 #171708 #22220C #4F4F1C #7C7C2C

Accessibility & contrast

On white

16.13
#22220C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#22220C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22220C
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22220C#FFFFFF#000000##FFFFFF
##22220C1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25200A
Deuteranopia (green-blind)
#25210D
Tritanopia (blue-blind)
#25201D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #22220c;
/* rgb */ color: rgb(34, 34, 12);
/* oklch */ color: oklch(24.6% 0.037 108.8);
Tailwind
colors: {
  custom: {
    50: '#5d5c4c',
    500: '#22220c',
    950: '#000000',
  },
}
SCSS
$custom: #22220c;
$custom-light: #5d5c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#22220c",
  "rgb": {
    "r": 34,
    "g": 34,
    "b": 12
  },
  "hsl": {
    "h": 60,
    "s": 47.826,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24579,
    "c": 0.03673,
    "h": 108.8
  },
  "luminance": 0.01511
}

Semantic roles & 50–950 ramp

primary
#22220C
secondary
#2E2E5C
accent
#50D750
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #22220C

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

Preview Lab → · Contrast checker → · Palette generator →

#22220C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva