#021B0C

Closest named color: Rich Navy (#001219). oklch(19.7% 0.045 155), rgb(2, 27, 12).

Aa

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

About this color

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

Hue familyGreens
Lightnessvery dark (20%)
Chromamuted (0.045)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.16:1
White text18.03:1

Values

HEX#021B0C
RGBrgb(2, 27, 12)
HSLhsl(144, 86%, 6%)
OKLCHoklch(19.7% 0.045 155)

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 #021B0C 18.03:1 AAA Lc -106.8 Preferred for body text
Black text on #021B0C 1.16:1 Fails Lc 0.0 Not readable
#021B0C text on white 18.03:1 AAA Lc 104.6 Preferred for body text
#021B0C text on black 1.16: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

    #CBDFD1

    oklch(88.5% 0.029 155.2)

  4. Step 300

    300

    #A6CBB2

    oklch(80.8% 0.053 155.5)

  5. Step 400

    400

    #75B18A

    oklch(70.8% 0.085 155.1)

  6. Step 500

    500

    #4D9D6C

    oklch(63.2% 0.109 154.8)

  7. Step 600

    600

    #2B8754

    oklch(55.6% 0.117 155)

  8. Step 700

    700

    #1C7244

    oklch(49% 0.109 154.9)

  9. Step 800

    800

    #1B5D38

    oklch(42.7% 0.09 154.7)

  10. Step 900

    900

    #1D4C31

    oklch(37.6% 0.07 155.6)

  11. Step 950

    950 (this color)

    #021B0C

    oklch(19.7% 0.045 155)

Export this scale for Tailwind in the Tailwind colors tool

#021B0C 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)#1B180B0.040
Deuteranopia (no green cones)#17150D0.039
Tritanopia (no blue cones)#001B170.021
Achromatopsia (no color)#1616160.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #021B0C

    #021B0C

    oklch(19.7% 0.045 155)

  • #210D1D

    #210D1D

    oklch(19.7% 0.043 335)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021B0C

    #021B0C

    oklch(19.7% 0.045 155)

  • #111902

    #111902

    oklch(19.9% 0.045 125.1)

  • #001A17

    #001A17

    oklch(19.6% 0.035 184.7)

Open the analogous palette in the generator

Split complementary

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

  • #021B0C

    #021B0C

    oklch(19.7% 0.045 155)

  • #1A0F25

    #1A0F25

    oklch(19.6% 0.045 305.7)

  • #250C13

    #250C13

    oklch(19.7% 0.043 4.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021B0C

    #021B0C

    oklch(19.7% 0.045 155)

  • #101329

    #101329

    oklch(19.7% 0.044 275.7)

  • #260D07

    #260D07

    oklch(19.7% 0.044 35.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021B0C

    #021B0C

    oklch(19.7% 0.045 155)

  • #021728

    #021728

    oklch(19.7% 0.045 244.5)

  • #210D1D

    #210D1D

    oklch(19.7% 0.043 335)

  • #231000

    #231000

    oklch(19.7% 0.045 63.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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