#021D0F

Closest named color: Rich Navy (#001219). oklch(20.5% 0.044 157.9), rgb(2, 29, 15).

Aa

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

About this color

#021D0F is a very dark, muted green. In OKLCH its lightness is 20%, its chroma 0.044 and its hue 158°. 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.71:1.

Hue familyGreens
Lightnessvery dark (20%)
Chromamuted (0.044)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.18:1
White text17.71:1

Values

HEX#021D0F
RGBrgb(2, 29, 15)
HSLhsl(149, 87%, 6%)
OKLCHoklch(20.5% 0.044 157.9)

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 #021D0F 17.71:1 AAA Lc -106.6 Preferred for body text
Black text on #021D0F 1.18:1 Fails Lc 0.0 Not readable
#021D0F text on white 17.71:1 AAA Lc 104.4 Preferred for body text
#021D0F text on black 1.18: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

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #CADFD2

    oklch(88.4% 0.029 158.6)

  4. Step 300

    300

    #A5CBB4

    oklch(80.8% 0.052 158.4)

  5. Step 400

    400

    #72B18C

    oklch(70.7% 0.085 157.6)

  6. Step 500

    500

    #499D70

    oklch(63.1% 0.107 157.8)

  7. Step 600

    600

    #238758

    oklch(55.5% 0.116 158)

  8. Step 700

    700

    #127348

    oklch(49.2% 0.109 157.8)

  9. Step 800

    800

    #155D3B

    oklch(42.6% 0.09 157.8)

  10. Step 900

    900

    #1A4D33

    oklch(37.8% 0.071 157.9)

  11. Step 950

    950 (this color)

    #021D0F

    oklch(20.5% 0.044 157.9)

Export this scale for Tailwind in the Tailwind colors tool

#021D0F 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)#1D1A0E0.041
Deuteranopia (no green cones)#1917100.040
Tritanopia (no blue cones)#001D190.019
Achromatopsia (no color)#1818180.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #021D0F

    #021D0F

    oklch(20.5% 0.044 157.9)

  • #240E1E

    #240E1E

    oklch(20.4% 0.045 338.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021D0F

    #021D0F

    oklch(20.5% 0.044 157.9)

  • #111B04

    #111B04

    oklch(20.6% 0.044 128.6)

  • #001C1A

    #001C1A

    oklch(20.4% 0.035 188.3)

Open the analogous palette in the generator

Split complementary

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

  • #021D0F

    #021D0F

    oklch(20.5% 0.044 157.9)

  • #1D1127

    #1D1127

    oklch(20.6% 0.045 308)

  • #280D13

    #280D13

    oklch(20.5% 0.046 8.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021D0F

    #021D0F

    oklch(20.5% 0.044 157.9)

  • #13152B

    #13152B

    oklch(20.6% 0.044 277.9)

  • #280F07

    #280F07

    oklch(20.5% 0.045 38.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021D0F

    #021D0F

    oklch(20.5% 0.044 157.9)

  • #05182A

    #05182A

    oklch(20.4% 0.044 248.9)

  • #240E1E

    #240E1E

    oklch(20.4% 0.045 338.4)

  • #241300

    #241300

    oklch(20.6% 0.045 69.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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