#040E02

Closest named color: Almost Black (#070D0D). oklch(14.8% 0.035 138.4), rgb(4, 14, 2).

Aa

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

About this color

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

Hue familyGreens
Lightnessvery dark (15%)
Chromamuted (0.035)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.06:1
White text19.64:1

Values

HEX#040E02
RGBrgb(4, 14, 2)
HSLhsl(110, 75%, 3%)
OKLCHoklch(14.8% 0.035 138.4)

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 #040E02 19.64:1 AAA Lc -107.7 Preferred for body text
Black text on #040E02 1.06:1 Fails Lc 0.0 Not readable
#040E02 text on white 19.64:1 AAA Lc 105.7 Preferred for body text
#040E02 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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E6ECE4

    oklch(93.6% 0.012 137.8)

  3. Step 200

    200

    #D2DDCE

    oklch(88.5% 0.023 137.3)

  4. Step 300

    300

    #B4C7AE

    oklch(80.8% 0.04 138.2)

  5. Step 400

    400

    #8CAB83

    oklch(70.7% 0.066 138.7)

  6. Step 500

    500

    #6F9663

    oklch(63.1% 0.086 138.5)

  7. Step 600

    600

    #57804A

    oklch(55.5% 0.092 138.4)

  8. Step 700

    700

    #476C3B

    oklch(49% 0.086 138.4)

  9. Step 800

    800

    #3B5831

    oklch(42.7% 0.071 138)

  10. Step 900

    900

    #32492B

    oklch(37.8% 0.057 138.6)

  11. Step 950

    950 (this color)

    #040E02

    oklch(14.8% 0.035 138.4)

Export this scale for Tailwind in the Tailwind colors tool

#040E02 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)#0F0C010.023
Deuteranopia (no green cones)#0D0B030.023
Tritanopia (no blue cones)#040D0B0.025
Achromatopsia (no color)#0B0B0B0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #040E02

    #040E02

    oklch(14.8% 0.035 138.4)

  • #110614

    #110614

    oklch(14.8% 0.035 319.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #040E02

    #040E02

    oklch(14.8% 0.035 138.4)

  • #0C0C00

    #0C0C00

    oklch(14.9% 0.033 109.8)

  • #000F08

    #000F08

    oklch(14.9% 0.031 165.8)

Open the analogous palette in the generator

Split complementary

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

  • #040E02

    #040E02

    oklch(14.8% 0.035 138.4)

  • #0A0818

    #0A0818

    oklch(14.8% 0.034 287.5)

  • #15050D

    #15050D

    oklch(14.8% 0.034 349.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #040E02

    #040E02

    oklch(14.8% 0.035 138.4)

  • #030A19

    #030A19

    oklch(14.6% 0.036 259.2)

  • #170506

    #170506

    oklch(14.9% 0.034 17.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #040E02

    #040E02

    oklch(14.8% 0.035 138.4)

  • #000D14

    #000D14

    oklch(14.8% 0.029 226.8)

  • #110614

    #110614

    oklch(14.8% 0.035 319.2)

  • #160601

    #160601

    oklch(14.8% 0.035 48.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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