#050401#050401

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

Color values

HEX#050401
RGBrgb(5, 4, 1)
HSLhsl(45, 67%, 1%)
HSVhsv(45, 80%, 2%)
CMYKcmyk(0%, 20%, 80%, 98%)
CIE-LABlab(1.10, -0.16, 1.23)
CIE-LCHlch(1.10, 1.24, 97.21°)
OKLaboklab(10.65% -0.0018 0.0149)
OKLCHoklch(10.65% 0.015 97.1)
XYZxyz(0.1115, 0.1213, 0.0462)
Luminance0.0012 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#050401 #010205
analogous
#050201 #050401 #040501
triadic
#050401 #010504 #040105
tetradic
#050401 #010502 #010205 #050104
square
#050401 #010502 #010205 #050104
split-complementary
#050401 #010405 #020105
monochromatic
#1A1405 #1A1405 #1A1405 #382D0B #6B5615

Accessibility & contrast

On white

20.50
#050401 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #050401
20.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##050401#FFFFFF#000000##FFFFFF
##0504011.0020.501.0220.50
#FFFFFF20.501.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #050401;
/* rgb */ color: rgb(5, 4, 1);
/* oklch */ color: oklch(10.6% 0.015 97.1);
Tailwind
colors: {
  custom: {
    50: '#494847',
    500: '#050401',
    950: '#000000',
  },
}
SCSS
$custom: #050401;
$custom-light: #494847;
$custom-dark: #000000;
JSON
{
  "hex": "#050401",
  "rgb": {
    "r": 5,
    "g": 4,
    "b": 1
  },
  "hsl": {
    "h": 45,
    "s": 66.667,
    "l": 1.176
  },
  "oklch": {
    "l": 0.10645,
    "c": 0.015,
    "h": 97.1
  },
  "luminance": 0.00121
}

Semantic roles & 50–950 ramp

primary
#050401
secondary
#1A2548
accent
#69EA3E
background
#F4F4F3
surface
#E6E6E5
border
#C2C2C1
text
#000000
muted
#777777

Preview Lab

Preview with #050401

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

Preview Lab → · Contrast checker → · Palette generator →

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