#02170B

Closest named color: Rich Navy (#001219). oklch(18.2% 0.039 157.3), rgb(2, 23, 11).

Aa

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

About this color

#02170B is a very dark, muted green. In OKLCH its lightness is 18%, its chroma 0.039 and its hue 157°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.040 away. White text reads best on it, at 18.58:1.

Hue familyGreens
Lightnessvery dark (18%)
Chromamuted (0.039)
Temperaturein between
Nearest nameRich Navy (#001219)
Black text1.12:1
White text18.58:1

Values

HEX#02170B
RGBrgb(2, 23, 11)
HSLhsl(146, 84%, 5%)
OKLCHoklch(18.2% 0.039 157.3)

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 #02170B 18.58:1 AAA Lc -107.1 Preferred for body text
Black text on #02170B 1.12:1 Fails Lc 0.0 Not readable
#02170B text on white 18.58:1 AAA Lc 105.0 Preferred for body text
#02170B text on black 1.12: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

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CCDED3

    oklch(88.4% 0.024 159.1)

  4. Step 300

    300

    #A9CAB5

    oklch(80.9% 0.046 157.3)

  5. Step 400

    400

    #7AAF8F

    oklch(70.8% 0.073 157.4)

  6. Step 500

    500

    #559B73

    oklch(63.2% 0.094 157.2)

  7. Step 600

    600

    #37855B

    oklch(55.6% 0.102 157.1)

  8. Step 700

    700

    #28714B

    oklch(49.2% 0.095 157.2)

  9. Step 800

    800

    #235C3E

    oklch(42.8% 0.078 157.5)

  10. Step 900

    900

    #224B35

    oklch(37.6% 0.06 158.2)

  11. Step 950

    950 (this color)

    #02170B

    oklch(18.2% 0.039 157.3)

Export this scale for Tailwind in the Tailwind colors tool

#02170B 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)#17140A0.036
Deuteranopia (no green cones)#14120C0.035
Tritanopia (no blue cones)#0017140.018
Achromatopsia (no color)#1313130.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #02170B

    #02170B

    oklch(18.2% 0.039 157.3)

  • #1D0B18

    #1D0B18

    oklch(18.3% 0.038 338.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02170B

    #02170B

    oklch(18.2% 0.039 157.3)

  • #0D1503

    #0D1503

    oklch(18.2% 0.038 127.9)

  • #001614

    #001614

    oklch(18% 0.031 187.3)

Open the analogous palette in the generator

Split complementary

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

  • #02170B

    #02170B

    oklch(18.2% 0.039 157.3)

  • #170D1F

    #170D1F

    oklch(18.3% 0.038 308.6)

  • #200A0F

    #200A0F

    oklch(18.2% 0.039 7.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02170B

    #02170B

    oklch(18.2% 0.039 157.3)

  • #0E1023

    #0E1023

    oklch(18.2% 0.039 277.3)

  • #200B06

    #200B06

    oklch(18.2% 0.038 35.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02170B

    #02170B

    oklch(18.2% 0.039 157.3)

  • #031322

    #031322

    oklch(18.1% 0.039 246.9)

  • #1D0B18

    #1D0B18

    oklch(18.3% 0.038 338.4)

  • #1D0E01

    #1D0E01

    oklch(18.2% 0.038 65.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02170B 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.