#202018#202018

#202018 is a very dark, near-neutral yellow. Relative luminance 0.014; OKLCH L 24.1% C 0.015 H 107.4°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#202018
RGBrgb(32, 32, 24)
HSLhsl(60, 14%, 11%)
HSVhsv(60, 25%, 13%)
CMYKcmyk(0%, 0%, 25%, 87.5%)
CIE-LABlab(12.00, -1.82, 5.46)
CIE-LCHlch(12.00, 5.75, 108.41°)
OKLaboklab(24.07% -0.0044 0.014)
OKLCHoklch(24.07% 0.015 107.4)
XYZxyz(1.2770, 1.4061, 1.0681)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202018 #181820
analogous
#201C18 #202018 #1C2018
triadic
#202018 #182020 #201820
tetradic
#202018 #18201C #181820 #20181C
square
#202018 #18201C #181820 #20181C
split-complementary
#202018 #181C20 #1C1820
monochromatic
#11110D #11110D #202018 #434332 #66664C

Accessibility & contrast

On white

16.39
#202018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#202018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202018
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202018#FFFFFF#000000##FFFFFF
##2020181.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F18
Deuteranopia (green-blind)
#222018
Tritanopia (blue-blind)
#211F1E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #202018;
/* rgb */ color: rgb(32, 32, 24);
/* oklch */ color: oklch(24.1% 0.015 107.4);
Tailwind
colors: {
  custom: {
    50: '#5b5b54',
    500: '#202018',
    950: '#000000',
  },
}
SCSS
$custom: #202018;
$custom-light: #5b5b54;
$custom-dark: #000000;
JSON
{
  "hex": "#202018",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 14.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.24072,
    "c": 0.01464,
    "h": 107.4
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#202018
secondary
#434351
accent
#71B771
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #202018

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

Preview Lab → · Contrast checker → · Palette generator →

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