#040F01#040F01

#040F01 is a very dark, muted green. Relative luminance 0.004; OKLCH L 15.1% C 0.040 H 136.6°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#040F01
RGBrgb(4, 15, 1)
HSLhsl(107, 88%, 3%)
HSVhsv(107, 93%, 6%)
CMYKcmyk(73.3%, 0%, 93.3%, 94.1%)
CIE-LABlab(3.34, -5.12, 4.50)
CIE-LCHlch(3.34, 6.81, 138.69°)
OKLaboklab(15.11% -0.0293 0.0276)
OKLCHoklch(15.11% 0.04 136.6)
XYZxyz(0.2264, 0.3696, 0.0881)
Luminance0.0037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040F01 #0C010F
analogous
#0B0F01 #040F01 #010F05
triadic
#040F01 #01040F #0F0104
tetradic
#040F01 #010B0F #0C010F #0F0501
square
#040F01 #010B0F #0C010F #0F0501
split-complementary
#040F01 #05010F #0F010B
monochromatic
#081D02 #081D02 #081D02 #134805 #238209

Accessibility & contrast

On white

19.55
#040F01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#040F01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040F01
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040F01#FFFFFF#000000##FFFFFF
##040F011.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100D00
Deuteranopia (green-blind)
#0E0C02
Tritanopia (blue-blind)
#040E0B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #040f01;
/* rgb */ color: rgb(4, 15, 1);
/* oklch */ color: oklch(15.1% 0.040 136.6);
Tailwind
colors: {
  custom: {
    50: '#484e47',
    500: '#040f01',
    950: '#000000',
  },
}
SCSS
$custom: #040f01;
$custom-light: #484e47;
$custom-dark: #000000;
JSON
{
  "hex": "#040f01",
  "rgb": {
    "r": 4,
    "g": 15,
    "b": 1
  },
  "hsl": {
    "h": 107.143,
    "s": 87.5,
    "l": 3.137
  },
  "oklch": {
    "l": 0.1511,
    "c": 0.04026,
    "h": 136.6
  },
  "luminance": 0.0037
}

Semantic roles & 50–950 ramp

primary
#040F01
secondary
#491557
accent
#2AFED0
background
#F4F4F3
surface
#E6E7E5
border
#C2C3C1
text
#000100
muted
#777777

Preview Lab

Preview with #040F01

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

Preview Lab → · Contrast checker → · Palette generator →

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