#021C0C

Closest named color: Rich Navy (#001219). oklch(20% 0.046 154.2), rgb(2, 28, 12).

Aa

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

About this color

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

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

Values

HEX#021C0C
RGBrgb(2, 28, 12)
HSLhsl(143, 87%, 6%)
OKLCHoklch(20% 0.046 154.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 #021C0C 17.88:1 AAA Lc -106.7 Preferred for body text
Black text on #021C0C 1.17:1 Fails Lc 0.0 Not readable
#021C0C text on white 17.88:1 AAA Lc 104.5 Preferred for body text
#021C0C 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE5

    oklch(93.6% 0.016 154.5)

  3. Step 200

    200

    #CADFD0

    oklch(88.4% 0.03 154.6)

  4. Step 300

    300

    #A6CCB1

    oklch(81% 0.055 154.1)

  5. Step 400

    400

    #74B188

    oklch(70.7% 0.087 154.2)

  6. Step 500

    500

    #4B9D6A

    oklch(63.1% 0.112 154.3)

  7. Step 600

    600

    #278851

    oklch(55.7% 0.123 154)

  8. Step 700

    700

    #187342

    oklch(49.2% 0.114 154.2)

  9. Step 800

    800

    #185E36

    oklch(42.8% 0.095 153.8)

  10. Step 900

    900

    #1C4D2F

    oklch(37.8% 0.074 153.8)

  11. Step 950

    950 (this color)

    #021C0C

    oklch(20% 0.046 154.2)

Export this scale for Tailwind in the Tailwind colors tool

#021C0C 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)#1C190B0.041
Deuteranopia (no green cones)#18160D0.040
Tritanopia (no blue cones)#001C180.022
Achromatopsia (no color)#1717170.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #021C0C

    #021C0C

    oklch(20% 0.046 154.2)

  • #220D1F

    #220D1F

    oklch(20% 0.047 332.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021C0C

    #021C0C

    oklch(20% 0.046 154.2)

  • #121901

    #121901

    oklch(19.9% 0.046 122.9)

  • #001B18

    #001B18

    oklch(20% 0.035 185)

Open the analogous palette in the generator

Split complementary

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

  • #021C0C

    #021C0C

    oklch(20% 0.046 154.2)

  • #1B1027

    #1B1027

    oklch(20.1% 0.047 304.6)

  • #270C14

    #270C14

    oklch(20.1% 0.047 3.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021C0C

    #021C0C

    oklch(20% 0.046 154.2)

  • #10142B

    #10142B

    oklch(20.1% 0.046 274.1)

  • #270D07

    #270D07

    oklch(19.9% 0.046 34.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021C0C

    #021C0C

    oklch(20% 0.046 154.2)

  • #011829

    #011829

    oklch(20.1% 0.046 242.4)

  • #220D1F

    #220D1F

    oklch(20% 0.047 332.7)

  • #241100

    #241100

    oklch(20.1% 0.045 64.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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