#202118#202118

#202118 is a very dark, near-neutral yellow. Relative luminance 0.015; OKLCH L 24.4% C 0.016 H 112.8°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#202118
RGBrgb(32, 33, 24)
HSLhsl(67, 16%, 11%)
HSVhsv(67, 27%, 13%)
CMYKcmyk(3%, 0%, 27.3%, 87.1%)
CIE-LABlab(12.36, -2.52, 5.95)
CIE-LCHlch(12.36, 6.46, 112.90°)
OKLaboklab(24.36% -0.0064 0.0152)
OKLCHoklch(24.36% 0.016 112.8)
XYZxyz(1.3044, 1.4607, 1.0772)
Luminance0.0146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202118 #191821
analogous
#211D18 #202118 #1B2118
triadic
#202118 #182021 #211820
tetradic
#202118 #18211D #191821 #21181B
square
#202118 #18211D #191821 #21181B
split-complementary
#202118 #181B21 #1D1821
monochromatic
#11120D #11120D #202118 #424432 #65684C

Accessibility & contrast

On white

16.25
#202118 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#202118 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202118
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202118#FFFFFF#000000##FFFFFF
##2021181.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222017
Deuteranopia (green-blind)
#222018
Tritanopia (blue-blind)
#21201F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #202118;
/* rgb */ color: rgb(32, 33, 24);
/* oklch */ color: oklch(24.4% 0.016 112.8);
Tailwind
colors: {
  custom: {
    50: '#5b5c54',
    500: '#202118',
    950: '#000000',
  },
}
SCSS
$custom: #202118;
$custom-light: #5b5c54;
$custom-dark: #000000;
JSON
{
  "hex": "#202118",
  "rgb": {
    "r": 32,
    "g": 33,
    "b": 24
  },
  "hsl": {
    "h": 66.667,
    "s": 15.789,
    "l": 11.176
  },
  "oklch": {
    "l": 0.24355,
    "c": 0.01648,
    "h": 112.8
  },
  "luminance": 0.01461
}

Semantic roles & 50–950 ramp

primary
#202118
secondary
#444253
accent
#6FB977
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #202118

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

Preview Lab → · Contrast checker → · Palette generator →

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