#040E04#040E04

#040E04 is a very dark, muted green. Relative luminance 0.003; OKLCH L 14.9% C 0.030 H 143.9°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#040E04
RGBrgb(4, 14, 4)
HSLhsl(120, 56%, 4%)
HSVhsv(120, 71%, 5%)
CMYKcmyk(71.4%, 0%, 71.4%, 94.5%)
CIE-LABlab(3.15, -4.19, 3.00)
CIE-LCHlch(3.15, 5.15, 144.45°)
OKLaboklab(14.86% -0.0239 0.0174)
OKLCHoklch(14.86% 0.03 143.9)
XYZxyz(0.2290, 0.3486, 0.1701)
Luminance0.0035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040E04 #0E040E
analogous
#090E04 #040E04 #040E09
triadic
#040E04 #04040E #0E0404
tetradic
#040E04 #04090E #0E040E #0E0904
square
#040E04 #04090E #0E040E #0E0904
split-complementary
#040E04 #09040E #0E0409
monochromatic
#071807 #071807 #071807 #123E12 #1F6D1F

Accessibility & contrast

On white

19.63
#040E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040E04
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040E04#FFFFFF#000000##FFFFFF
##040E041.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0C03
Deuteranopia (green-blind)
#0D0B04
Tritanopia (blue-blind)
#030D0B
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #040e04;
/* rgb */ color: rgb(4, 14, 4);
/* oklch */ color: oklch(14.9% 0.030 143.9);
Tailwind
colors: {
  custom: {
    50: '#484d48',
    500: '#040e04',
    950: '#000000',
  },
}
SCSS
$custom: #040e04;
$custom-light: #484d48;
$custom-dark: #000000;
JSON
{
  "hex": "#040e04",
  "rgb": {
    "r": 4,
    "g": 14,
    "b": 4
  },
  "hsl": {
    "h": 120,
    "s": 55.556,
    "l": 3.529
  },
  "oklch": {
    "l": 0.14862,
    "c": 0.02959,
    "h": 143.9
  },
  "luminance": 0.00349
}

Semantic roles & 50–950 ramp

primary
#040E04
secondary
#4C224C
accent
#49DFDF
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040E04

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

Preview Lab → · Contrast checker → · Palette generator →

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