#172B0F

Closest named color: Very Dark Green (#062E03). oklch(26.4% 0.055 137.5), rgb(23, 43, 15).

Aa

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

About this color

#172B0F is a dark, muted green. In OKLCH its lightness is 26%, its chroma 0.055 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.028 away. White text reads best on it, at 15.12:1.

Hue familyGreens
Lightnessdark (26%)
Chromamuted (0.055)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.38:1
White text15.12:1

Values

HEX#172B0F
RGBrgb(23, 43, 15)
HSLhsl(103, 48%, 11%)
OKLCHoklch(26.4% 0.055 137.5)

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 #172B0F 15.12:1 AAA Lc -104.7 Preferred for body text
Black text on #172B0F 1.38:1 Fails Lc 0.0 Not readable
#172B0F text on white 15.12:1 AAA Lc 101.9 Preferred for body text
#172B0F text on black 1.38: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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CEDFC8

    oklch(88.5% 0.036 137.5)

  4. Step 300

    300

    #ADCBA2

    oklch(80.9% 0.065 137.3)

  5. Step 400

    400

    #81B06F

    oklch(70.7% 0.104 137.3)

  6. Step 500

    500

    #5F9C47

    oklch(63.1% 0.134 137.7)

  7. Step 600

    600

    #458626

    oklch(55.6% 0.145 137.4)

  8. Step 700

    700

    #367118

    oklch(49% 0.135 137.4)

  9. Step 800

    800

    #2D5C17

    oklch(42.6% 0.112 137.5)

  10. Step 900

    900

    #294C1A

    oklch(37.7% 0.087 137.4)

  11. Step 950

    950 (this color)

    #172B0F

    oklch(26.4% 0.055 137.5)

Export this scale for Tailwind in the Tailwind colors tool

#172B0F 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)#2D270C0.037
Deuteranopia (no green cones)#2A25110.037
Tritanopia (no blue cones)#1629250.040
Achromatopsia (no color)#2626260.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #172B0F

    #172B0F

    oklch(26.4% 0.055 137.5)

  • #301C36

    #301C36

    oklch(26.5% 0.054 318.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172B0F

    #172B0F

    oklch(26.4% 0.055 137.5)

  • #282701

    #282701

    oklch(26.5% 0.056 108.2)

  • #002D20

    #002D20

    oklch(26.4% 0.053 168.2)

Open the analogous palette in the generator

Split complementary

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

  • #172B0F

    #172B0F

    oklch(26.4% 0.055 137.5)

  • #24203E

    #24203E

    oklch(26.4% 0.055 288.1)

  • #38192A

    #38192A

    oklch(26.4% 0.055 347.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172B0F

    #172B0F

    oklch(26.4% 0.055 137.5)

  • #13253F

    #13253F

    oklch(26.4% 0.055 257.6)

  • #3B191B

    #3B191B

    oklch(26.4% 0.054 17.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172B0F

    #172B0F

    oklch(26.4% 0.055 137.5)

  • #002938

    #002938

    oklch(26.2% 0.051 228.1)

  • #301C36

    #301C36

    oklch(26.5% 0.054 318.2)

  • #3A1C0B

    #3A1C0B

    oklch(26.5% 0.054 48.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #172B0F 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.