#172B02

Closest named color: Very Dark Green (#062E03). oklch(26.2% 0.07 132.1), rgb(23, 43, 2).

Aa

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

About this color

#172B02 is a dark, muted green. In OKLCH its lightness is 26%, its chroma 0.070 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.18:1.

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

Values

HEX#172B02
RGBrgb(23, 43, 2)
HSLhsl(89, 91%, 9%)
OKLCHoklch(26.2% 0.07 132.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 #172B02 15.18:1 AAA Lc -104.7 Preferred for body text
Black text on #172B02 1.38:1 Fails Lc 0.0 Not readable
#172B02 text on white 15.18:1 AAA Lc 102.0 Preferred for body text
#172B02 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

    #F3F7F0

    oklch(97.1% 0.01 131.4)

  2. Step 100

    100

    #E4EDDD

    oklch(93.5% 0.023 131.1)

  3. Step 200

    200

    #CEE0C1

    oklch(88.5% 0.046 132.1)

  4. Step 300

    300

    #ADCC95

    oklch(80.8% 0.082 131.9)

  5. Step 400

    400

    #81B157

    oklch(70.6% 0.131 132.1)

  6. Step 500

    500

    #619D15

    oklch(63.1% 0.168 132)

  7. Step 600

    600

    #4F8500

    oklch(55.7% 0.155 132.1)

  8. Step 700

    700

    #427000

    oklch(49.3% 0.137 132)

  9. Step 800

    800

    #355B00

    oklch(42.6% 0.118 131.9)

  10. Step 900

    900

    #2B4C00

    oklch(37.6% 0.105 132.1)

  11. Step 950

    950 (this color)

    #172B02

    oklch(26.2% 0.07 132.1)

Export this scale for Tailwind in the Tailwind colors tool

#172B02 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)#2B25050.040
Tritanopia (no blue cones)#1729230.052
Achromatopsia (no color)#2626260.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #172B02

    #172B02

    oklch(26.2% 0.07 132.1)

  • #30193C

    #30193C

    oklch(26.2% 0.069 312.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172B02

    #172B02

    oklch(26.2% 0.07 132.1)

  • #2A2500

    #2A2500

    oklch(26.2% 0.055 101.8)

  • #002D1C

    #002D1C

    oklch(26.3% 0.057 162.3)

Open the analogous palette in the generator

Split complementary

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

  • #172B02

    #172B02

    oklch(26.2% 0.07 132.1)

  • #201F45

    #201F45

    oklch(26.3% 0.069 281.7)

  • #3A152E

    #3A152E

    oklch(26.3% 0.069 341.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172B02

    #172B02

    oklch(26.2% 0.07 132.1)

  • #052545

    #052545

    oklch(26.2% 0.07 252.1)

  • #40131B

    #40131B

    oklch(26.3% 0.07 12.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172B02

    #172B02

    oklch(26.2% 0.07 132.1)

  • #002935

    #002935

    oklch(26.1% 0.048 222.6)

  • #30193C

    #30193C

    oklch(26.2% 0.069 312.9)

  • #3F1605

    #3F1605

    oklch(26.1% 0.07 41.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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