#040401#040401

#040401 is a very dark, near-neutral yellow. Relative luminance 0.001; OKLCH L 10.4% C 0.015 H 108.8°. Best body text is #FFFFFF at 20.53:1 contrast (WCAG AA passes).

Color values

HEX#040401
RGBrgb(4, 4, 1)
HSLhsl(60, 60%, 1%)
HSVhsv(60, 75%, 2%)
CMYKcmyk(0%, 0%, 75%, 98.4%)
CIE-LABlab(1.04, -0.41, 1.13)
CIE-LCHlch(1.04, 1.21, 110.07°)
OKLaboklab(10.41% -0.0048 0.0142)
OKLCHoklch(10.41% 0.015 108.8)
XYZxyz(0.0990, 0.1148, 0.0457)
Luminance0.0011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040401 #010104
analogous
#040201 #040401 #020401
triadic
#040401 #010404 #040104
tetradic
#040401 #010402 #010104 #040102
square
#040401 #010402 #010104 #040102
split-complementary
#040401 #010204 #020104
monochromatic
#181806 #181806 #181806 #35350D #666619

Accessibility & contrast

On white

20.53
#040401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#040401 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040401
20.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040401#FFFFFF#000000##FFFFFF
##0404011.0020.531.0220.53
#FFFFFF20.531.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050401
Deuteranopia (green-blind)
#050401
Tritanopia (blue-blind)
#050403
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #040401;
/* rgb */ color: rgb(4, 4, 1);
/* oklch */ color: oklch(10.4% 0.015 108.8);
Tailwind
colors: {
  custom: {
    50: '#484847',
    500: '#040401',
    950: '#000000',
  },
}
SCSS
$custom: #040401;
$custom-light: #484847;
$custom-dark: #000000;
JSON
{
  "hex": "#040401",
  "rgb": {
    "r": 4,
    "g": 4,
    "b": 1
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 0.98
  },
  "oklch": {
    "l": 0.10413,
    "c": 0.01502,
    "h": 108.8
  },
  "luminance": 0.00115
}

Semantic roles & 50–950 ramp

primary
#040401
secondary
#1C1C45
accent
#45E345
background
#F4F4F3
surface
#E6E6E5
border
#C2C2C1
text
#000000
muted
#777777

Preview Lab

Preview with #040401

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

Preview Lab → · Contrast checker → · Palette generator →

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