#040200#040200

#040200 is a very dark, near-neutral orange. Relative luminance 0.001; OKLCH L 8.9% C 0.018 H 82.3°. Best body text is #FFFFFF at 20.71:1 contrast (WCAG AA passes).

Color values

HEX#040200
RGBrgb(4, 2, 0)
HSLhsl(30, 100%, 1%)
HSVhsv(30, 100%, 2%)
CMYKcmyk(0%, 50%, 100%, 98.4%)
CIE-LABlab(0.63, 0.25, 0.94)
CIE-LCHlch(0.63, 0.97, 75.29°)
OKLaboklab(8.89% 0.0025 0.0182)
OKLCHoklch(8.89% 0.018 82.3)
XYZxyz(0.0718, 0.0692, 0.0096)
Luminance0.0007 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040200 #000204
analogous
#040000 #040200 #040400
triadic
#040200 #000402 #020004
tetradic
#040200 #000400 #000204 #040004
square
#040200 #000400 #000204 #040004
split-complementary
#040200 #000404 #000004
monochromatic
#1F0F00 #1F0F00 #1F0F00 #412100 #7E3F00

Accessibility & contrast

On white

20.71
#040200 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.01
#040200 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040200
20.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040200#FFFFFF#000000##FFFFFF
##0402001.0020.711.0120.71
#FFFFFF20.711.0021.001.00
#0000001.0121.001.0021.00
##FFFFFF20.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030200
Deuteranopia (green-blind)
#030200
Tritanopia (blue-blind)
#050201
Achromatopsia (no color)
#020202

Design tokens & code

CSS
--color: #040200;
/* rgb */ color: rgb(4, 2, 0);
/* oklch */ color: oklch(8.9% 0.018 82.3);
Tailwind
colors: {
  custom: {
    50: '#484847',
    500: '#040200',
    950: '#000000',
  },
}
SCSS
$custom: #040200;
$custom-light: #484847;
$custom-dark: #000000;
JSON
{
  "hex": "#040200",
  "rgb": {
    "r": 4,
    "g": 2,
    "b": 0
  },
  "hsl": {
    "h": 30,
    "s": 100,
    "l": 0.784
  },
  "oklch": {
    "l": 0.08894,
    "c": 0.01831,
    "h": 82.3
  },
  "luminance": 0.00069
}

Semantic roles & 50–950 ramp

primary
#040200
secondary
#0E3051
accent
#94FF29
background
#F4F4F3
surface
#E6E6E5
border
#C2C2C1
text
#000000
muted
#777777

Preview Lab

Preview with #040200

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

Preview Lab → · Contrast checker → · Palette generator →

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