#021F13

Closest named color: Rich Black (#0D1B2A). oklch(21.3% 0.043 162.7), rgb(2, 31, 19).

Aa

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

About this color

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

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

Values

HEX#021F13
RGBrgb(2, 31, 19)
HSLhsl(155, 88%, 6%)
OKLCHoklch(21.3% 0.043 162.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 #021F13 17.38:1 AAA Lc -106.4 Preferred for body text
Black text on #021F13 1.20:1 Fails Lc 0.0 Not readable
#021F13 text on white 17.38:1 AAA Lc 104.1 Preferred for body text
#021F13 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

    #A4CBB7

    oklch(80.8% 0.05 162.8)

  5. Step 400

    400

    #6FB192

    oklch(70.7% 0.082 163)

  6. Step 500

    500

    #449D77

    oklch(63.1% 0.104 162.8)

  7. Step 600

    600

    #19875F

    oklch(55.5% 0.113 162.7)

  8. Step 700

    700

    #03734F

    oklch(49.2% 0.106 162.8)

  9. Step 800

    800

    #0D5E41

    oklch(42.9% 0.088 162.8)

  10. Step 900

    900

    #174D37

    oklch(37.8% 0.068 162.7)

  11. Step 950

    950 (this color)

    #021F13

    oklch(21.3% 0.043 162.7)

Export this scale for Tailwind in the Tailwind colors tool

#021F13 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)#1E1C120.041
Deuteranopia (no green cones)#1A19140.040
Tritanopia (no blue cones)#001F1C0.017
Achromatopsia (no color)#1A1A1A0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #021F13

    #021F13

    oklch(21.3% 0.043 162.7)

  • #26101E

    #26101E

    oklch(21.2% 0.043 342.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021F13

    #021F13

    oklch(21.3% 0.043 162.7)

  • #111D07

    #111D07

    oklch(21.3% 0.043 132.6)

  • #001E1D

    #001E1D

    oklch(21.2% 0.036 191.7)

Open the analogous palette in the generator

Split complementary

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

  • #021F13

    #021F13

    oklch(21.3% 0.043 162.7)

  • #201327

    #201327

    oklch(21.4% 0.042 313.1)

  • #2A1013

    #2A1013

    oklch(21.4% 0.043 14.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021F13

    #021F13

    oklch(21.3% 0.043 162.7)

  • #16162C

    #16162C

    oklch(21.3% 0.043 282.1)

  • #291208

    #291208

    oklch(21.4% 0.042 43.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021F13

    #021F13

    oklch(21.3% 0.043 162.7)

  • #091A2C

    #091A2C

    oklch(21.4% 0.042 251.6)

  • #26101E

    #26101E

    oklch(21.2% 0.043 342.6)

  • #251501

    #251501

    oklch(21.3% 0.043 71.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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