#021F0C

Closest named color: Dark Forest Green (#002D04). oklch(21.1% 0.052 152.1), rgb(2, 31, 12).

Aa

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

About this color

#021F0C is a very dark, muted green. In OKLCH its lightness is 21%, its chroma 0.052 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.057 away. White text reads best on it, at 17.44:1.

Hue familyGreens
Lightnessvery dark (21%)
Chromamuted (0.052)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.20:1
White text17.44:1

Values

HEX#021F0C
RGBrgb(2, 31, 12)
HSLhsl(141, 88%, 6%)
OKLCHoklch(21.1% 0.052 152.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 #021F0C 17.44:1 AAA Lc -106.4 Preferred for body text
Black text on #021F0C 1.20:1 Fails Lc 0.0 Not readable
#021F0C text on white 17.44:1 AAA Lc 104.1 Preferred for body text
#021F0C 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #C9E0CE

    oklch(88.5% 0.035 152)

  4. Step 300

    300

    #A4CDAE

    oklch(81% 0.061 152.3)

  5. Step 400

    400

    #70B282

    oklch(70.6% 0.098 151.9)

  6. Step 500

    500

    #459F63

    oklch(63.2% 0.125 152.1)

  7. Step 600

    600

    #1B8949

    oklch(55.6% 0.136 152)

  8. Step 700

    700

    #07743A

    oklch(49% 0.127 152)

  9. Step 800

    800

    #0F5F31

    oklch(42.8% 0.105 152.2)

  10. Step 900

    900

    #184E2B

    oklch(37.8% 0.082 151.8)

  11. Step 950

    950 (this color)

    #021F0C

    oklch(21.1% 0.052 152.1)

Export this scale for Tailwind in the Tailwind colors tool

#021F0C 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)#1F1B0B0.044
Deuteranopia (no green cones)#1B190D0.042
Tritanopia (no blue cones)#001E1A0.027
Achromatopsia (no color)#1A1A1A0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #021F0C

    #021F0C

    oklch(21.1% 0.052 152.1)

  • #260E23

    #260E23

    oklch(21.1% 0.053 332.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021F0C

    #021F0C

    oklch(21.1% 0.052 152.1)

  • #151C00

    #151C00

    oklch(21.2% 0.051 121.7)

  • #001E1A

    #001E1A

    oklch(21.1% 0.038 182.7)

Open the analogous palette in the generator

Split complementary

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

  • #021F0C

    #021F0C

    oklch(21.1% 0.052 152.1)

  • #1D122C

    #1D122C

    oklch(21.1% 0.051 301.7)

  • #2B0D17

    #2B0D17

    oklch(21.2% 0.051 1.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021F0C

    #021F0C

    oklch(21.1% 0.052 152.1)

  • #111630

    #111630

    oklch(21.1% 0.052 273)

  • #2C0E08

    #2C0E08

    oklch(21.1% 0.052 33.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021F0C

    #021F0C

    oklch(21.1% 0.052 152.1)

  • #001B2D

    #001B2D

    oklch(21.2% 0.049 240.7)

  • #260E23

    #260E23

    oklch(21.1% 0.053 332.1)

  • #281200

    #281200

    oklch(21% 0.049 60.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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