#20220B#20220B

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

Color values

HEX#20220B
RGBrgb(32, 34, 11)
HSLhsl(65, 51%, 9%)
HSVhsv(65, 68%, 13%)
CMYKcmyk(5.9%, 0%, 67.6%, 86.7%)
CIE-LABlab(12.45, -5.30, 13.79)
CIE-LCHlch(12.45, 14.77, 111.03°)
OKLaboklab(24.34% -0.0153 0.0354)
OKLCHoklch(24.34% 0.039 113.4)
XYZxyz(1.2281, 1.4753, 0.5366)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20220B #0D0B22
analogous
#22190B #20220B #15220B
triadic
#20220B #0B2022 #220B20
tetradic
#20220B #0B2219 #0D0B22 #220B15
square
#20220B #0B2219 #0D0B22 #220B15
split-complementary
#20220B #0B1522 #190B22
monochromatic
#161707 #161707 #20220B #4C501A #777E29

Accessibility & contrast

On white

16.22
#20220B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20220B
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20220B#FFFFFF#000000##FFFFFF
##20220B1.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20220b;
/* rgb */ color: rgb(32, 34, 11);
/* oklch */ color: oklch(24.3% 0.039 113.4);
Tailwind
colors: {
  custom: {
    50: '#5b5c4b',
    500: '#20220b',
    950: '#000000',
  },
}
SCSS
$custom: #20220b;
$custom-light: #5b5c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#20220b",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 11
  },
  "hsl": {
    "h": 65.217,
    "s": 51.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.24342,
    "c": 0.03855,
    "h": 113.4
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#20220B
secondary
#302C5D
accent
#4DDB5A
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #20220B

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

Preview Lab → · Contrast checker → · Palette generator →

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