#172C02

Closest named color: Very Dark Green (#062E03). oklch(26.5% 0.071 132.5), rgb(23, 44, 2).

Aa

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

About this color

#172C02 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.017 away. White text reads best on it, at 15.02:1.

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

Values

HEX#172C02
RGBrgb(23, 44, 2)
HSLhsl(90, 91%, 9%)
OKLCHoklch(26.5% 0.071 132.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 #172C02 15.02:1 AAA Lc -104.6 Preferred for body text
Black text on #172C02 1.39:1 Fails Lc 0.0 Not readable
#172C02 text on white 15.02:1 AAA Lc 101.8 Preferred for body text
#172C02 text on black 1.39: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

    #ACCD94

    oklch(81% 0.085 132.5)

  5. Step 400

    400

    #80B256

    oklch(70.7% 0.134 132.5)

  6. Step 500

    500

    #5E9E10

    oklch(63.2% 0.172 132.7)

  7. Step 600

    600

    #4D8500

    oklch(55.6% 0.156 132.7)

  8. Step 700

    700

    #407000

    oklch(49.1% 0.138 132.7)

  9. Step 800

    800

    #345C00

    oklch(42.8% 0.12 132.5)

  10. Step 900

    900

    #2A4C00

    oklch(37.6% 0.105 132.5)

  11. Step 950

    950 (this color)

    #172C02

    oklch(26.5% 0.071 132.5)

Export this scale for Tailwind in the Tailwind colors tool

#172C02 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)#2E28000.039
Deuteranopia (no green cones)#2C26050.041
Tritanopia (no blue cones)#172A240.053
Achromatopsia (no color)#2727270.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #172C02

    #172C02

    oklch(26.5% 0.071 132.5)

  • #31193E

    #31193E

    oklch(26.5% 0.072 312.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172C02

    #172C02

    oklch(26.5% 0.071 132.5)

  • #2B2600

    #2B2600

    oklch(26.6% 0.056 101.9)

  • #002E1D

    #002E1D

    oklch(26.6% 0.058 162.6)

Open the analogous palette in the generator

Split complementary

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

  • #172C02

    #172C02

    oklch(26.5% 0.071 132.5)

  • #211F46

    #211F46

    oklch(26.5% 0.071 282.7)

  • #3C152E

    #3C152E

    oklch(26.6% 0.071 343.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172C02

    #172C02

    oklch(26.5% 0.071 132.5)

  • #062646

    #062646

    oklch(26.6% 0.07 252.1)

  • #41131C

    #41131C

    oklch(26.5% 0.072 11.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172C02

    #172C02

    oklch(26.5% 0.071 132.5)

  • #002A36

    #002A36

    oklch(26.4% 0.049 222.2)

  • #31193E

    #31193E

    oklch(26.5% 0.072 312.4)

  • #401704

    #401704

    oklch(26.5% 0.07 43.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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