#040C01#040C01

#040C01 is a very dark, muted green. Relative luminance 0.003; OKLCH L 14.0% C 0.035 H 134.6°. Best body text is #FFFFFF at 19.85:1 contrast (WCAG AA passes).

Color values

HEX#040C01
RGBrgb(4, 12, 1)
HSLhsl(104, 85%, 3%)
HSVhsv(104, 92%, 5%)
CMYKcmyk(66.7%, 0%, 91.7%, 95.3%)
CIE-LABlab(2.63, -3.67, 3.46)
CIE-LCHlch(2.63, 5.04, 136.67°)
OKLaboklab(13.98% -0.0244 0.0247)
OKLCHoklch(13.98% 0.035 134.6)
XYZxyz(0.1870, 0.2909, 0.0750)
Luminance0.0029 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040C01 #09010C
analogous
#090C01 #040C01 #010C03
triadic
#040C01 #01040C #0C0104
tetradic
#040C01 #01090C #09010C #0C0301
square
#040C01 #01090C #09010C #0C0301
split-complementary
#040C01 #03010C #0C0109
monochromatic
#091C02 #091C02 #091C02 #174406 #2A7D0A

Accessibility & contrast

On white

19.85
#040C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#040C01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040C01
19.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040C01#FFFFFF#000000##FFFFFF
##040C011.0019.851.0619.85
#FFFFFF19.851.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0A00
Deuteranopia (green-blind)
#0C0901
Tritanopia (blue-blind)
#040B09
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #040c01;
/* rgb */ color: rgb(4, 12, 1);
/* oklch */ color: oklch(14.0% 0.035 134.6);
Tailwind
colors: {
  custom: {
    50: '#484c47',
    500: '#040c01',
    950: '#000000',
  },
}
SCSS
$custom: #040c01;
$custom-light: #484c47;
$custom-dark: #000000;
JSON
{
  "hex": "#040c01",
  "rgb": {
    "r": 4,
    "g": 12,
    "b": 1
  },
  "hsl": {
    "h": 103.636,
    "s": 84.615,
    "l": 2.549
  },
  "oklch": {
    "l": 0.13983,
    "c": 0.03471,
    "h": 134.6
  },
  "luminance": 0.00291
}

Semantic roles & 50–950 ramp

primary
#040C01
secondary
#431553
accent
#2DFBC3
background
#F4F4F3
surface
#E6E7E5
border
#C2C3C1
text
#000100
muted
#777777

Preview Lab

Preview with #040C01

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

Preview Lab → · Contrast checker → · Palette generator →

#040C01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva