#021804

Closest named color: Almost Black (#070D0D). oklch(18.4% 0.051 145.5), rgb(2, 24, 4).

Aa

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

About this color

#021804 is a very dark, muted green. In OKLCH its lightness is 18%, its chroma 0.051 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.055 away. White text reads best on it, at 18.50:1.

Hue familyGreens
Lightnessvery dark (18%)
Chromamuted (0.051)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.13:1
White text18.50:1

Values

HEX#021804
RGBrgb(2, 24, 4)
HSLhsl(125, 85%, 5%)
OKLCHoklch(18.4% 0.051 145.5)

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 #021804 18.50:1 AAA Lc -107.1 Preferred for body text
Black text on #021804 1.13:1 Fails Lc 0.0 Not readable
#021804 text on white 18.50:1 AAA Lc 105.0 Preferred for body text
#021804 text on black 1.13: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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE3

    oklch(93.6% 0.017 145.4)

  3. Step 200

    200

    #CCDFCC

    oklch(88.4% 0.033 145.3)

  4. Step 300

    300

    #A9CCA9

    oklch(81% 0.061 145)

  5. Step 400

    400

    #79B17B

    oklch(70.7% 0.097 145.3)

  6. Step 500

    500

    #549D59

    oklch(63.1% 0.124 145.4)

  7. Step 600

    600

    #35873E

    oklch(55.5% 0.134 145.5)

  8. Step 700

    700

    #277230

    oklch(49% 0.124 145.4)

  9. Step 800

    800

    #225D29

    oklch(42.6% 0.103 145.7)

  10. Step 900

    900

    #224D26

    oklch(37.8% 0.081 145.6)

  11. Step 950

    950 (this color)

    #021804

    oklch(18.4% 0.051 145.5)

Export this scale for Tailwind in the Tailwind colors tool

#021804 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)#1915030.039
Deuteranopia (no green cones)#1613050.038
Tritanopia (no blue cones)#0017130.031
Achromatopsia (no color)#1313130.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #021804

    #021804

    oklch(18.4% 0.051 145.5)

  • #1D091E

    #1D091E

    oklch(18.3% 0.05 325.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021804

    #021804

    oklch(18.4% 0.051 145.5)

  • #121400

    #121400

    oklch(18.3% 0.041 114.3)

  • #001712

    #001712

    oklch(18.3% 0.034 177.3)

Open the analogous palette in the generator

Split complementary

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

  • #021804

    #021804

    oklch(18.4% 0.051 145.5)

  • #150D26

    #150D26

    oklch(18.5% 0.05 295.9)

  • #230713

    #230713

    oklch(18.4% 0.051 356.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021804

    #021804

    oklch(18.4% 0.051 145.5)

  • #081129

    #081129

    oklch(18.5% 0.051 266)

  • #250706

    #250706

    oklch(18.4% 0.052 26)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021804

    #021804

    oklch(18.4% 0.051 145.5)

  • #001521

    #001521

    oklch(18.4% 0.039 234.1)

  • #1D091E

    #1D091E

    oklch(18.3% 0.05 325.6)

  • #210C00

    #210C00

    oklch(18.4% 0.045 55.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #021804 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.