#021C12

Closest named color: Rich Navy (#001219). oklch(20.2% 0.039 165.1), rgb(2, 28, 18).

Aa

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

About this color

#021C12 is a very dark, muted green. In OKLCH its lightness is 20%, its chroma 0.039 and its hue 165°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.048 away. White text reads best on it, at 17.83:1.

Hue familyGreens
Lightnessvery dark (20%)
Chromamuted (0.039)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.17:1
White text17.83:1

Values

HEX#021C12
RGBrgb(2, 28, 18)
HSLhsl(157, 87%, 6%)
OKLCHoklch(20.2% 0.039 165.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 #021C12 17.83:1 AAA Lc -106.7 Preferred for body text
Black text on #021C12 1.17:1 Fails Lc 0.0 Not readable
#021C12 text on white 17.83:1 AAA Lc 104.5 Preferred for body text
#021C12 text on black 1.17: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE8

    oklch(93.6% 0.013 167.2)

  3. Step 200

    200

    #CADFD5

    oklch(88.5% 0.026 165.6)

  4. Step 300

    300

    #A6CBB9

    oklch(81% 0.047 164.2)

  5. Step 400

    400

    #73B095

    oklch(70.8% 0.075 164.8)

  6. Step 500

    500

    #4A9C7B

    oklch(63.2% 0.096 164.8)

  7. Step 600

    600

    #268664

    oklch(55.6% 0.103 165)

  8. Step 700

    700

    #167153

    oklch(49% 0.095 165.3)

  9. Step 800

    800

    #175C44

    oklch(42.6% 0.079 165.4)

  10. Step 900

    900

    #1B4C39

    oklch(37.7% 0.063 164.7)

  11. Step 950

    950 (this color)

    #021C12

    oklch(20.2% 0.039 165.1)

Export this scale for Tailwind in the Tailwind colors tool

#021C12 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)#1B19110.038
Deuteranopia (no green cones)#1716130.038
Tritanopia (no blue cones)#001C190.014
Achromatopsia (no color)#1818180.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #021C12

    #021C12

    oklch(20.2% 0.039 165.1)

  • #230F1B

    #230F1B

    oklch(20.3% 0.039 344.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021C12

    #021C12

    oklch(20.2% 0.039 165.1)

  • #0E1A08

    #0E1A08

    oklch(20.1% 0.038 136)

  • #001B1B

    #001B1B

    oklch(20.1% 0.034 194.8)

Open the analogous palette in the generator

Split complementary

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

  • #021C12

    #021C12

    oklch(20.2% 0.039 165.1)

  • #1D1123

    #1D1123

    oklch(20.3% 0.039 313.8)

  • #260E11

    #260E11

    oklch(20.2% 0.041 13.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021C12

    #021C12

    oklch(20.2% 0.039 165.1)

  • #151428

    #151428

    oklch(20.4% 0.039 284.6)

  • #251007

    #251007

    oklch(20.2% 0.039 43.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021C12

    #021C12

    oklch(20.2% 0.039 165.1)

  • #0A1728

    #0A1728

    oklch(20.3% 0.039 255.7)

  • #230F1B

    #230F1B

    oklch(20.3% 0.039 344.3)

  • #211402

    #211402

    oklch(20.4% 0.039 75.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #021C12 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.