#172B01

Closest named color: Very Dark Green (#062E03). oklch(26.2% 0.071 131.7), rgb(23, 43, 1).

Aa

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

About this color

#172B01 is a dark, moderately saturated green. In OKLCH its lightness is 26%, its chroma 0.071 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.018 away. White text reads best on it, at 15.19:1.

Hue familyGreens
Lightnessdark (26%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.38:1
White text15.19:1

Values

HEX#172B01
RGBrgb(23, 43, 1)
HSLhsl(89, 95%, 9%)
OKLCHoklch(26.2% 0.071 131.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 #172B01 15.19:1 AAA Lc -104.7 Preferred for body text
Black text on #172B01 1.38:1 Fails Lc 0.0 Not readable
#172B01 text on white 15.19:1 AAA Lc 102.0 Preferred for body text
#172B01 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

    #F3F7EF

    oklch(97.1% 0.011 128.6)

  2. Step 100

    100

    #E4EEDD

    oklch(93.7% 0.025 132.1)

  3. Step 200

    200

    #CEE0C1

    oklch(88.5% 0.046 132.1)

  4. Step 300

    300

    #ADCC94

    oklch(80.8% 0.083 131.6)

  5. Step 400

    400

    #81B255

    oklch(70.8% 0.134 132)

  6. Step 500

    500

    #619D0B

    oklch(63% 0.171 131.7)

  7. Step 600

    600

    #508400

    oklch(55.5% 0.153 131.6)

  8. Step 700

    700

    #426F00

    oklch(49% 0.136 131.8)

  9. Step 800

    800

    #365B00

    oklch(42.7% 0.117 131.5)

  10. Step 900

    900

    #2C4C00

    oklch(37.7% 0.104 131.6)

  11. Step 950

    950 (this color)

    #172B01

    oklch(26.2% 0.071 131.7)

Export this scale for Tailwind in the Tailwind colors tool

#172B01 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)#2D27000.038
Deuteranopia (no green cones)#2B25040.040
Tritanopia (no blue cones)#1829230.053
Achromatopsia (no color)#2626260.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #172B01

    #172B01

    oklch(26.2% 0.071 131.7)

  • #30193D

    #30193D

    oklch(26.3% 0.07 312)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172B01

    #172B01

    oklch(26.2% 0.071 131.7)

  • #2A2500

    #2A2500

    oklch(26.2% 0.055 101.8)

  • #002D1B

    #002D1B

    oklch(26.2% 0.058 161)

Open the analogous palette in the generator

Split complementary

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

  • #172B01

    #172B01

    oklch(26.2% 0.071 131.7)

  • #201F45

    #201F45

    oklch(26.3% 0.069 281.7)

  • #3A142E

    #3A142E

    oklch(26.1% 0.071 341.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172B01

    #172B01

    oklch(26.2% 0.071 131.7)

  • #042545

    #042545

    oklch(26.1% 0.071 251.5)

  • #40131B

    #40131B

    oklch(26.3% 0.07 12.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172B01

    #172B01

    oklch(26.2% 0.071 131.7)

  • #002935

    #002935

    oklch(26.1% 0.048 222.6)

  • #30193D

    #30193D

    oklch(26.3% 0.07 312)

  • #401605

    #401605

    oklch(26.3% 0.071 41.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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