#040D00

Closest named color: Almost Black (#070D0D). oklch(14.3% 0.04 133.1), rgb(4, 13, 0).

Aa

White text reads best on this color (19.76:1).

About this color

#040D00 is a very dark, muted green. In OKLCH its lightness is 14%, its chroma 0.040 and its hue 133°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.038 away. White text reads best on it, at 19.76:1.

Hue familyGreens
Lightnessvery dark (14%)
Chromamuted (0.040)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.06:1
White text19.76:1

Values

HEX#040D00
RGBrgb(4, 13, 0)
HSLhsl(102, 100%, 3%)
OKLCHoklch(14.3% 0.04 133.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #040D00 19.76:1 AAA Lc -107.7 Preferred for body text
Black text on #040D00 1.06:1 Fails Lc 0.0 Not readable
#040D00 text on white 19.76:1 AAA Lc 105.8 Preferred for body text
#040D00 text on black 1.06:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E6ECE3

    oklch(93.6% 0.014 134.9)

  3. Step 200

    200

    #D2DDCB

    oklch(88.4% 0.027 133)

  4. Step 300

    300

    #B5C8A8

    oklch(81% 0.049 132.6)

  5. Step 400

    400

    #8EAB7A

    oklch(70.6% 0.076 133)

  6. Step 500

    500

    #729657

    oklch(63% 0.098 132.8)

  7. Step 600

    600

    #5A803C

    oklch(55.5% 0.106 133)

  8. Step 700

    700

    #4A6C2E

    oklch(49% 0.098 132.8)

  9. Step 800

    800

    #3D5827

    oklch(42.6% 0.081 132.7)

  10. Step 900

    900

    #344924

    oklch(37.8% 0.065 132.9)

  11. Step 950

    950 (this color)

    #040D00

    oklch(14.3% 0.04 133.1)

Export this scale for Tailwind in the Tailwind colors tool

#040D00 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0E0B000.023
Deuteranopia (no green cones)#0D0A010.025
Tritanopia (no blue cones)#040C090.030
Achromatopsia (no color)#0A0A0A0.041

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #040D00

    #040D00

    oklch(14.3% 0.04 133.1)

  • #0F0515

    #0F0515

    oklch(14.3% 0.039 312.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #040D00

    #040D00

    oklch(14.3% 0.04 133.1)

  • #0C0A00

    #0C0A00

    oklch(14.3% 0.03 103)

  • #000E06

    #000E06

    oklch(14.5% 0.032 160.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #040D00

    #040D00

    oklch(14.3% 0.04 133.1)

  • #08071A

    #08071A

    oklch(14.4% 0.041 282.8)

  • #15030E

    #15030E

    oklch(14.2% 0.043 343.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #040D00

    #040D00

    oklch(14.3% 0.04 133.1)

  • #010A1A

    #010A1A

    oklch(14.4% 0.04 253.8)

  • #170306

    #170306

    oklch(14.3% 0.041 10.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #040D00

    #040D00

    oklch(14.3% 0.04 133.1)

  • #000C12

    #000C12

    oklch(14.3% 0.027 223.9)

  • #0F0515

    #0F0515

    oklch(14.3% 0.039 312.4)

  • #170400

    #170400

    oklch(14.3% 0.041 44.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #040D00, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #040D00 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.