#040B00#040B00

#040B00 is a very dark, muted yellow-green. Relative luminance 0.003; OKLCH L 13.6% C 0.037 H 131.1°. Best body text is #FFFFFF at 19.94:1 contrast (WCAG AA passes).

Color values

HEX#040B00
RGBrgb(4, 11, 0)
HSLhsl(98, 100%, 2%)
HSVhsv(98, 100%, 4%)
CMYKcmyk(63.6%, 0%, 100%, 95.7%)
CIE-LABlab(2.39, -3.37, 3.53)
CIE-LCHlch(2.39, 4.88, 133.71°)
OKLaboklab(13.56% -0.0244 0.028)
OKLCHoklch(13.56% 0.037 131.1)
XYZxyz(0.1697, 0.2651, 0.0422)
Luminance0.0027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#040B00 #07000B
analogous
#0A0B00 #040B00 #000B02
triadic
#040B00 #00040B #0B0004
tetradic
#040B00 #000A0B #07000B #0B0200
square
#040B00 #000A0B #07000B #0B0200
split-complementary
#040B00 #02000B #0B000A
monochromatic
#0B1F00 #0B1F00 #0B1F00 #1A4800 #318500

Accessibility & contrast

On white

19.94
#040B00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #040B00
19.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##040B00#FFFFFF#000000##FFFFFF
##040B001.0019.941.0519.94
#FFFFFF19.941.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #040b00;
/* rgb */ color: rgb(4, 11, 0);
/* oklch */ color: oklch(13.6% 0.037 131.1);
Tailwind
colors: {
  custom: {
    50: '#484c47',
    500: '#040b00',
    950: '#000000',
  },
}
SCSS
$custom: #040b00;
$custom-light: #484c47;
$custom-dark: #000000;
JSON
{
  "hex": "#040b00",
  "rgb": {
    "r": 4,
    "g": 11,
    "b": 0
  },
  "hsl": {
    "h": 98.182,
    "s": 100,
    "l": 2.157
  },
  "oklch": {
    "l": 0.13556,
    "c": 0.03713,
    "h": 131.1
  },
  "luminance": 0.00265
}

Semantic roles & 50–950 ramp

primary
#040B00
secondary
#3D0F57
accent
#29FFB1
background
#F4F4F3
surface
#E6E7E5
border
#C2C3C1
text
#000100
muted
#777777

Preview Lab

Preview with #040B00

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

Preview Lab → · Contrast checker → · Palette generator →

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