#040C00

Closest named color: Almost Black (#070D0D). oklch(13.9% 0.039 132.2), rgb(4, 12, 0).

Aa

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

About this color

#040C00 is a very dark, muted green. In OKLCH its lightness is 14%, its chroma 0.039 and its hue 132°. 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.85:1.

Hue familyGreens
Lightnessvery dark (14%)
Chromamuted (0.039)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.05:1
White text19.85:1

Values

HEX#040C00
RGBrgb(4, 12, 0)
HSLhsl(100, 100%, 2%)
OKLCHoklch(13.9% 0.039 132.2)

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 #040C00 19.85:1 AAA Lc -107.7 Preferred for body text
Black text on #040C00 1.05:1 Fails Lc 0.0 Not readable
#040C00 text on white 19.85:1 AAA Lc 105.8 Preferred for body text
#040C00 text on black 1.05: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

    #D3DDCC

    oklch(88.5% 0.025 132.1)

  4. Step 300

    300

    #B6C7A9

    oklch(80.9% 0.045 131.6)

  5. Step 400

    400

    #8FAB7B

    oklch(70.7% 0.074 132.7)

  6. Step 500

    500

    #749659

    oklch(63.2% 0.094 132.3)

  7. Step 600

    600

    #5C803E

    oklch(55.7% 0.103 132.4)

  8. Step 700

    700

    #4C6C30

    oklch(49.2% 0.095 132.2)

  9. Step 800

    800

    #3E5828

    oklch(42.7% 0.079 132.4)

  10. Step 900

    900

    #354825

    oklch(37.6% 0.061 132)

  11. Step 950

    950 (this color)

    #040C00

    oklch(13.9% 0.039 132.2)

Export this scale for Tailwind in the Tailwind colors tool

#040C00 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)#0D0A000.022
Deuteranopia (no green cones)#0C09000.022
Tritanopia (no blue cones)#040B080.028
Achromatopsia (no color)#0A0A0A0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #040C00

    #040C00

    oklch(13.9% 0.039 132.2)

  • #0E0514

    #0E0514

    oklch(14% 0.037 311.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #040C00

    #040C00

    oklch(13.9% 0.039 132.2)

  • #0B0900

    #0B0900

    oklch(13.8% 0.029 102.6)

  • #000D06

    #000D06

    oklch(14.1% 0.03 162.8)

Open the analogous palette in the generator

Split complementary

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

  • #040C00

    #040C00

    oklch(13.9% 0.039 132.2)

  • #070618

    #070618

    oklch(13.7% 0.04 283)

  • #13030D

    #13030D

    oklch(13.8% 0.04 342.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #040C00

    #040C00

    oklch(13.9% 0.039 132.2)

  • #010918

    #010918

    oklch(13.9% 0.038 253.8)

  • #160305

    #160305

    oklch(14% 0.039 14.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #040C00

    #040C00

    oklch(13.9% 0.039 132.2)

  • #000B11

    #000B11

    oklch(13.9% 0.026 224.9)

  • #0E0514

    #0E0514

    oklch(14% 0.037 311.4)

  • #160400

    #160400

    oklch(14.1% 0.04 45.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #040C00 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.