#202012#202012

#202012 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.9% C 0.025 H 108.1°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#202012
RGBrgb(32, 32, 18)
HSLhsl(60, 28%, 10%)
HSVhsv(60, 44%, 13%)
CMYKcmyk(0%, 0%, 43.8%, 87.5%)
CIE-LABlab(11.85, -2.93, 9.35)
CIE-LCHlch(11.85, 9.79, 107.38°)
OKLaboklab(23.91% -0.0077 0.0237)
OKLCHoklch(23.91% 0.025 108.1)
XYZxyz(1.2214, 1.3838, 0.7749)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202012 #121220
analogous
#201912 #202012 #192012
triadic
#202012 #122020 #201220
tetradic
#202012 #122019 #121220 #201219
square
#202012 #122019 #121220 #201219
split-complementary
#202012 #121920 #191220
monochromatic
#14140B #14140B #202012 #474728 #6E6E3E

Accessibility & contrast

On white

16.45
#202012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202012
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202012#FFFFFF#000000##FFFFFF
##2020121.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F11
Deuteranopia (green-blind)
#221F13
Tritanopia (blue-blind)
#221E1C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #202012;
/* rgb */ color: rgb(32, 32, 18);
/* oklch */ color: oklch(23.9% 0.025 108.1);
Tailwind
colors: {
  custom: {
    50: '#5b5b50',
    500: '#202012',
    950: '#000000',
  },
}
SCSS
$custom: #202012;
$custom-light: #5b5b50;
$custom-dark: #000000;
JSON
{
  "hex": "#202012",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.23905,
    "c": 0.02489,
    "h": 108.1
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#202012
secondary
#393955
accent
#63C463
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #202012

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

Preview Lab → · Contrast checker → · Palette generator →

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