#202218#202218

#202218 is a very dark, near-neutral yellow-green. Relative luminance 0.015; OKLCH L 24.6% C 0.018 H 117.0°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#202218
RGBrgb(32, 34, 24)
HSLhsl(72, 17%, 11%)
HSVhsv(72, 29%, 13%)
CMYKcmyk(5.9%, 0%, 29.4%, 86.7%)
CIE-LABlab(12.72, -3.21, 6.45)
CIE-LCHlch(12.72, 7.21, 116.49°)
OKLaboklab(24.64% -0.0083 0.0164)
OKLCHoklch(24.64% 0.018 117)
XYZxyz(1.3325, 1.5171, 1.0866)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202218 #1A1822
analogous
#221F18 #202218 #1B2218
triadic
#202218 #182022 #221820
tetradic
#202218 #18221F #1A1822 #22181B
square
#202218 #18221F #1A1822 #22181B
split-complementary
#202218 #181B22 #1F1822
monochromatic
#11120D #11120D #202218 #424631 #646A4B

Accessibility & contrast

On white

16.11
#202218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#202218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202218
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202218#FFFFFF#000000##FFFFFF
##2022181.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232117
Deuteranopia (green-blind)
#232118
Tritanopia (blue-blind)
#21211F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #202218;
/* rgb */ color: rgb(32, 34, 24);
/* oklch */ color: oklch(24.6% 0.018 117.0);
Tailwind
colors: {
  custom: {
    50: '#5b5c54',
    500: '#202218',
    950: '#000000',
  },
}
SCSS
$custom: #202218;
$custom-light: #5b5c54;
$custom-dark: #000000;
JSON
{
  "hex": "#202218",
  "rgb": {
    "r": 32,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 72,
    "s": 17.241,
    "l": 11.373
  },
  "oklch": {
    "l": 0.24641,
    "c": 0.01841,
    "h": 117
  },
  "luminance": 0.01517
}

Semantic roles & 50–950 ramp

primary
#202218
secondary
#454254
accent
#6EBA7D
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #202218

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

Preview Lab → · Contrast checker → · Palette generator →

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