#040B02#040B02

#040B02 is a very dark, muted green. Relative luminance 0.003; OKLCH L 13.7% C 0.029 H 136.6°. Best body text is #FFFFFF at 19.92:1 contrast (WCAG AA passes).

Color values

HEX#040B02
RGBrgb(4, 11, 2)
HSLhsl(107, 69%, 3%)
HSVhsv(107, 82%, 4%)
CMYKcmyk(63.6%, 0%, 81.8%, 95.7%)
CIE-LABlab(2.43, -3.09, 2.77)
CIE-LCHlch(2.43, 4.15, 138.15°)
OKLaboklab(13.66% -0.0211 0.0199)
OKLCHoklch(13.66% 0.029 136.6)
XYZxyz(0.1807, 0.2695, 0.0999)
Luminance0.0027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040B02 #09020B
analogous
#080B02 #040B02 #020B05
triadic
#040B02 #02040B #0B0204
tetradic
#040B02 #02080B #09020B #0B0502
square
#040B02 #02080B #09020B #0B0502
split-complementary
#040B02 #05020B #0B0208
monochromatic
#091A05 #091A05 #091A05 #173F0B #2A7315

Accessibility & contrast

On white

19.92
#040B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#040B02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #040B02
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040B02#FFFFFF#000000##FFFFFF
##040B021.0019.921.0519.92
#FFFFFF19.921.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0902
Deuteranopia (green-blind)
#0A0902
Tritanopia (blue-blind)
#040A08
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #040b02;
/* rgb */ color: rgb(4, 11, 2);
/* oklch */ color: oklch(13.7% 0.029 136.6);
Tailwind
colors: {
  custom: {
    50: '#484c48',
    500: '#040b02',
    950: '#000000',
  },
}
SCSS
$custom: #040b02;
$custom-light: #484c48;
$custom-dark: #000000;
JSON
{
  "hex": "#040b02",
  "rgb": {
    "r": 4,
    "g": 11,
    "b": 2
  },
  "hsl": {
    "h": 106.667,
    "s": 69.231,
    "l": 2.549
  },
  "oklch": {
    "l": 0.13656,
    "c": 0.029,
    "h": 136.6
  },
  "luminance": 0.0027
}

Semantic roles & 50–950 ramp

primary
#040B02
secondary
#431B4E
accent
#3CECC5
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000100
muted
#777777

Preview Lab

Preview with #040B02

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

Preview Lab → · Contrast checker → · Palette generator →

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