#172D02

Closest named color: Very Dark Green (#062E03). oklch(26.8% 0.073 133), rgb(23, 45, 2).

Aa

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

About this color

#172D02 is a dark, moderately saturated green. In OKLCH its lightness is 27%, its chroma 0.073 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.073)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.41:1
White text14.86:1

Values

HEX#172D02
RGBrgb(23, 45, 2)
HSLhsl(91, 91%, 9%)
OKLCHoklch(26.8% 0.073 133)

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 #172D02 14.86:1 AAA Lc -104.4 Preferred for body text
Black text on #172D02 1.41:1 Fails Lc 0.0 Not readable
#172D02 text on white 14.86:1 AAA Lc 101.6 Preferred for body text
#172D02 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

    #F2F7EF

    oklch(97% 0.012 133.4)

  2. Step 100

    100

    #E3EEDD

    oklch(93.6% 0.025 134.3)

  3. Step 200

    200

    #CDE0C0

    oklch(88.4% 0.048 132.6)

  4. Step 300

    300

    #ABCD94

    oklch(80.9% 0.086 133.1)

  5. Step 400

    400

    #7EB254

    oklch(70.6% 0.137 132.9)

  6. Step 500

    500

    #5C9E08

    oklch(63% 0.175 133)

  7. Step 600

    600

    #4C8500

    oklch(55.5% 0.157 132.9)

  8. Step 700

    700

    #3F7000

    oklch(49.1% 0.138 133)

  9. Step 800

    800

    #335C00

    oklch(42.8% 0.12 132.9)

  10. Step 900

    900

    #294D00

    oklch(37.8% 0.107 133.2)

  11. Step 950

    950 (this color)

    #172D02

    oklch(26.8% 0.073 133)

Export this scale for Tailwind in the Tailwind colors tool

#172D02 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)#2F28000.041
Deuteranopia (no green cones)#2C27050.040
Tritanopia (no blue cones)#172B250.054
Achromatopsia (no color)#2727270.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #172D02

    #172D02

    oklch(26.8% 0.073 133)

  • #321A3F

    #321A3F

    oklch(26.9% 0.072 312.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172D02

    #172D02

    oklch(26.8% 0.073 133)

  • #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°).

  • #172D02

    #172D02

    oklch(26.8% 0.073 133)

  • #222048

    #222048

    oklch(26.9% 0.072 282.7)

  • #3D152F

    #3D152F

    oklch(26.8% 0.072 343.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172D02

    #172D02

    oklch(26.8% 0.073 133)

  • #062648

    #062648

    oklch(26.7% 0.073 253.3)

  • #42141C

    #42141C

    oklch(26.8% 0.071 12.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172D02

    #172D02

    oklch(26.8% 0.073 133)

  • #002B38

    #002B38

    oklch(26.8% 0.05 223.6)

  • #321A3F

    #321A3F

    oklch(26.9% 0.072 312.5)

  • #421704

    #421704

    oklch(26.8% 0.073 42.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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