#20220C#20220C

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

Color values

HEX#20220C
RGBrgb(32, 34, 12)
HSLhsl(65, 48%, 9%)
HSVhsv(65, 65%, 13%)
CMYKcmyk(5.9%, 0%, 64.7%, 86.7%)
CIE-LABlab(12.47, -5.18, 13.37)
CIE-LCHlch(12.47, 14.34, 111.17°)
OKLaboklab(24.36% -0.0148 0.0342)
OKLCHoklch(24.36% 0.037 113.4)
XYZxyz(1.2341, 1.4777, 0.5680)
Luminance0.0148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20220C #0E0C22
analogous
#22190C #20220C #15220C
triadic
#20220C #0C2022 #220C20
tetradic
#20220C #0C2219 #0E0C22 #220C15
square
#20220C #0C2219 #0E0C22 #220C15
split-complementary
#20220C #0C1522 #190C22
monochromatic
#151708 #151708 #20220C #4B4F1C #757C2C

Accessibility & contrast

On white

16.21
#20220C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20220C
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20220C#FFFFFF#000000##FFFFFF
##20220C1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20220c;
/* rgb */ color: rgb(32, 34, 12);
/* oklch */ color: oklch(24.4% 0.037 113.4);
Tailwind
colors: {
  custom: {
    50: '#5b5c4c',
    500: '#20220c',
    950: '#000000',
  },
}
SCSS
$custom: #20220c;
$custom-light: #5b5c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#20220c",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 12
  },
  "hsl": {
    "h": 65.455,
    "s": 47.826,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24359,
    "c": 0.03722,
    "h": 113.4
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#20220C
secondary
#322E5C
accent
#50D75D
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #20220C

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

Preview Lab → · Contrast checker → · Palette generator →

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