#040E02#040E02

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

Color values

HEX#040E02
RGBrgb(4, 14, 2)
HSLhsl(110, 75%, 3%)
HSVhsv(110, 86%, 5%)
CMYKcmyk(71.4%, 0%, 85.7%, 94.5%)
CIE-LABlab(3.11, -4.47, 3.75)
CIE-LCHlch(3.11, 5.84, 139.98°)
OKLaboklab(14.78% -0.0263 0.0234)
OKLCHoklch(14.78% 0.035 138.4)
XYZxyz(0.2181, 0.3443, 0.1124)
Luminance0.0034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040E02 #0C020E
analogous
#0A0E02 #040E02 #020E06
triadic
#040E02 #02040E #0E0204
tetradic
#040E02 #020A0E #0C020E #0E0602
square
#040E02 #020A0E #0C020E #0E0602
split-complementary
#040E02 #06020E #0E020A
monochromatic
#081B04 #081B04 #081B04 #13440A #237911

Accessibility & contrast

On white

19.65
#040E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040E02
19.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040E02#FFFFFF#000000##FFFFFF
##040E021.0019.651.0719.65
#FFFFFF19.651.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F0C01
Deuteranopia (green-blind)
#0D0B03
Tritanopia (blue-blind)
#040D0B
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #040e02;
/* rgb */ color: rgb(4, 14, 2);
/* oklch */ color: oklch(14.8% 0.035 138.4);
Tailwind
colors: {
  custom: {
    50: '#484d47',
    500: '#040e02',
    950: '#000000',
  },
}
SCSS
$custom: #040e02;
$custom-light: #484d47;
$custom-dark: #000000;
JSON
{
  "hex": "#040e02",
  "rgb": {
    "r": 4,
    "g": 14,
    "b": 2
  },
  "hsl": {
    "h": 110,
    "s": 75,
    "l": 3.137
  },
  "oklch": {
    "l": 0.14777,
    "c": 0.03516,
    "h": 138.4
  },
  "luminance": 0.00344
}

Semantic roles & 50–950 ramp

primary
#040E02
secondary
#491A52
accent
#36F2D2
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040E02

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

Preview Lab → · Contrast checker → · Palette generator →

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