#021F14

Closest named color: Rich Black (#0D1B2A). oklch(21.3% 0.042 164.7), rgb(2, 31, 20).

Aa

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

About this color

#021F14 is a very dark, muted green. In OKLCH its lightness is 21%, its chroma 0.042 and its hue 165°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.054 away. White text reads best on it, at 17.37:1.

Hue familyGreens
Lightnessvery dark (21%)
Chromamuted (0.042)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.20:1
White text17.37:1

Values

HEX#021F14
RGBrgb(2, 31, 20)
HSLhsl(157, 88%, 6%)
OKLCHoklch(21.3% 0.042 164.7)

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 #021F14 17.37:1 AAA Lc -106.4 Preferred for body text
Black text on #021F14 1.20:1 Fails Lc 0.0 Not readable
#021F14 text on white 17.37:1 AAA Lc 104.1 Preferred for body text
#021F14 text on black 1.20: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

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  3. Step 200

    200

    #C9DFD4

    oklch(88.4% 0.028 164.3)

  4. Step 300

    300

    #A4CBB8

    oklch(80.9% 0.049 164.1)

  5. Step 400

    400

    #6FB194

    oklch(70.8% 0.08 164.7)

  6. Step 500

    500

    #439D7A

    oklch(63.1% 0.102 164.9)

  7. Step 600

    600

    #188762

    oklch(55.5% 0.111 164.5)

  8. Step 700

    700

    #027351

    oklch(49.2% 0.104 164.2)

  9. Step 800

    800

    #0D5D43

    oklch(42.6% 0.085 165)

  10. Step 900

    900

    #174D38

    oklch(37.8% 0.067 163.8)

  11. Step 950

    950 (this color)

    #021F14

    oklch(21.3% 0.042 164.7)

Export this scale for Tailwind in the Tailwind colors tool

#021F14 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)#1E1C130.041
Deuteranopia (no green cones)#1A19150.040
Tritanopia (no blue cones)#001F1C0.015
Achromatopsia (no color)#1A1A1A0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #021F14

    #021F14

    oklch(21.3% 0.042 164.7)

  • #26111E

    #26111E

    oklch(21.4% 0.041 343.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021F14

    #021F14

    oklch(21.3% 0.042 164.7)

  • #101D08

    #101D08

    oklch(21.2% 0.042 134.8)

  • #001E1E

    #001E1E

    oklch(21.3% 0.036 194.8)

Open the analogous palette in the generator

Split complementary

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

  • #021F14

    #021F14

    oklch(21.3% 0.042 164.7)

  • #201326

    #201326

    oklch(21.4% 0.041 314.6)

  • #291013

    #291013

    oklch(21.2% 0.042 13.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021F14

    #021F14

    oklch(21.3% 0.042 164.7)

  • #17162C

    #17162C

    oklch(21.4% 0.043 284.2)

  • #291208

    #291208

    oklch(21.4% 0.042 43.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021F14

    #021F14

    oklch(21.3% 0.042 164.7)

  • #0B1A2C

    #0B1A2C

    oklch(21.5% 0.041 254)

  • #26111E

    #26111E

    oklch(21.4% 0.041 343.3)

  • #241602

    #241602

    oklch(21.4% 0.041 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 #021F14, closest first.

Similar named colors

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

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