#202004#202004

#202004 is a very dark, muted yellow. Relative luminance 0.013; OKLCH L 23.6% C 0.045 H 109.4°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#202004
RGBrgb(32, 32, 4)
HSLhsl(60, 78%, 7%)
HSVhsv(60, 88%, 13%)
CMYKcmyk(0%, 0%, 87.5%, 87.5%)
CIE-LABlab(11.61, -4.77, 15.51)
CIE-LCHlch(11.61, 16.23, 107.09°)
OKLaboklab(23.64% -0.015 0.0425)
OKLCHoklch(23.64% 0.045 109.4)
XYZxyz(1.1341, 1.3489, 0.3155)
Luminance0.0135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202004 #040420
analogous
#201204 #202004 #122004
triadic
#202004 #042020 #200420
tetradic
#202004 #042012 #040420 #200412
square
#202004 #042012 #040420 #200412
split-complementary
#202004 #041220 #120420
monochromatic
#1B1B03 #1B1B03 #202004 #56560B #8D8D12

Accessibility & contrast

On white

16.54
#202004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#202004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202004
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202004#FFFFFF#000000##FFFFFF
##2020041.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E02
Deuteranopia (green-blind)
#241F05
Tritanopia (blue-blind)
#231D1A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #202004;
/* rgb */ color: rgb(32, 32, 4);
/* oklch */ color: oklch(23.6% 0.045 109.4);
Tailwind
colors: {
  custom: {
    50: '#5b5b48',
    500: '#202004',
    950: '#000000',
  },
}
SCSS
$custom: #202004;
$custom-light: #5b5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#202004",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 60,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.23641,
    "c": 0.0451,
    "h": 109.4
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#202004
secondary
#1D1D63
accent
#34F434
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #202004

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

Preview Lab → · Contrast checker → · Palette generator →

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