#172D03

Closest named color: Very Dark Green (#062E03). oklch(26.9% 0.071 133.3), rgb(23, 45, 3).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (27%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.41:1
White text14.86:1

Values

HEX#172D03
RGBrgb(23, 45, 3)
HSLhsl(91, 88%, 9%)
OKLCHoklch(26.9% 0.071 133.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 #172D03 14.86:1 AAA Lc -104.4 Preferred for body text
Black text on #172D03 1.41:1 Fails Lc 0.0 Not readable
#172D03 text on white 14.86:1 AAA Lc 101.6 Preferred for body text
#172D03 text on black 1.41: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

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E3EEDD

    oklch(93.6% 0.025 134.3)

  3. Step 200

    200

    #CDE0C1

    oklch(88.4% 0.046 133.2)

  4. Step 300

    300

    #ABCD95

    oklch(80.9% 0.084 133.5)

  5. Step 400

    400

    #7EB256

    oklch(70.6% 0.135 133.2)

  6. Step 500

    500

    #5C9E13

    oklch(63.1% 0.173 133.3)

  7. Step 600

    600

    #4B8500

    oklch(55.5% 0.157 133.2)

  8. Step 700

    700

    #3E7000

    oklch(49% 0.139 133.3)

  9. Step 800

    800

    #325C00

    oklch(42.7% 0.121 133.3)

  10. Step 900

    900

    #294D00

    oklch(37.8% 0.107 133.2)

  11. Step 950

    950 (this color)

    #172D03

    oklch(26.9% 0.071 133.3)

Export this scale for Tailwind in the Tailwind colors tool

#172D03 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)#2F29000.040
Deuteranopia (no green cones)#2C27060.040
Tritanopia (no blue cones)#172B250.053
Achromatopsia (no color)#2727270.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #172D03

    #172D03

    oklch(26.9% 0.071 133.3)

  • #321A3E

    #321A3E

    oklch(26.9% 0.071 313.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172D03

    #172D03

    oklch(26.9% 0.071 133.3)

  • #2B2700

    #2B2700

    oklch(26.9% 0.057 103.7)

  • #002F1E

    #002F1E

    oklch(27% 0.058 163)

Open the analogous palette in the generator

Split complementary

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

  • #172D03

    #172D03

    oklch(26.9% 0.071 133.3)

  • #222047

    #222047

    oklch(26.9% 0.071 282.9)

  • #3D152F

    #3D152F

    oklch(26.8% 0.072 343.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172D03

    #172D03

    oklch(26.9% 0.071 133.3)

  • #072648

    #072648

    oklch(26.8% 0.073 253.8)

  • #42141C

    #42141C

    oklch(26.8% 0.071 12.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172D03

    #172D03

    oklch(26.9% 0.071 133.3)

  • #002B38

    #002B38

    oklch(26.8% 0.05 223.6)

  • #321A3E

    #321A3E

    oklch(26.9% 0.071 313.3)

  • #411804

    #411804

    oklch(26.8% 0.071 44.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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