#202017#202017

#202017 is a very dark, near-neutral yellow. Relative luminance 0.014; OKLCH L 24.0% C 0.016 H 107.6°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#202017
RGBrgb(32, 32, 23)
HSLhsl(60, 16%, 11%)
HSVhsv(60, 28%, 13%)
CMYKcmyk(0%, 0%, 28.1%, 87.5%)
CIE-LABlab(11.97, -2.02, 6.14)
CIE-LCHlch(11.97, 6.47, 108.17°)
OKLaboklab(24.04% -0.005 0.0157)
OKLCHoklch(24.04% 0.016 107.6)
XYZxyz(1.2668, 1.4020, 1.0143)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202017 #171720
analogous
#201B17 #202017 #1B2017
triadic
#202017 #172020 #201720
tetradic
#202017 #17201B #171720 #20171B
square
#202017 #17201B #171720 #20171B
split-complementary
#202017 #171B20 #1B1720
monochromatic
#12120D #12120D #202017 #444431 #67674A

Accessibility & contrast

On white

16.40
#202017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202017
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202017#FFFFFF#000000##FFFFFF
##2020171.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221F16
Deuteranopia (green-blind)
#222017
Tritanopia (blue-blind)
#211F1E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #202017;
/* rgb */ color: rgb(32, 32, 23);
/* oklch */ color: oklch(24.0% 0.016 107.6);
Tailwind
colors: {
  custom: {
    50: '#5b5b53',
    500: '#202017',
    950: '#000000',
  },
}
SCSS
$custom: #202017;
$custom-light: #5b5b53;
$custom-dark: #000000;
JSON
{
  "hex": "#202017",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 16.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.24041,
    "c": 0.01642,
    "h": 107.6
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#202017
secondary
#414152
accent
#6FB96F
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #202017

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

Preview Lab → · Contrast checker → · Palette generator →

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