#172F18

Closest named color: Very Dark Green (#062E03). oklch(27.8% 0.051 144.9), rgb(23, 47, 24).

Aa

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

About this color

#172F18 is a dark, muted green. In OKLCH its lightness is 28%, its chroma 0.051 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Green (#062E03), ΔE 0.034 away. White text reads best on it, at 14.42:1.

Hue familyGreens
Lightnessdark (28%)
Chromamuted (0.051)
Temperaturein between
Nearest nameVery Dark Green (#062E03)
Black text1.45:1
White text14.42:1

Values

HEX#172F18
RGBrgb(23, 47, 24)
HSLhsl(122, 34%, 14%)
OKLCHoklch(27.8% 0.051 144.9)

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 #172F18 14.42:1 AAA Lc -104.0 Preferred for body text
Black text on #172F18 1.45:1 Fails Lc 0.0 Not readable
#172F18 text on white 14.42:1 AAA Lc 101.1 Preferred for body text
#172F18 text on black 1.45: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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E3EDE3

    oklch(93.6% 0.017 145.4)

  3. Step 200

    200

    #CCDFCC

    oklch(88.4% 0.033 145.3)

  4. Step 300

    300

    #A9CCA9

    oklch(81% 0.061 145)

  5. Step 400

    400

    #7AB17B

    oklch(70.8% 0.097 144.9)

  6. Step 500

    500

    #559D58

    oklch(63.1% 0.124 144.8)

  7. Step 600

    600

    #36873D

    oklch(55.6% 0.135 145)

  8. Step 700

    700

    #28722F

    oklch(49% 0.125 145)

  9. Step 800

    800

    #235D28

    oklch(42.6% 0.103 145)

  10. Step 900

    900

    #224D25

    oklch(37.8% 0.082 145.1)

  11. Step 950

    950 (this color)

    #172F18

    oklch(27.8% 0.051 144.9)

Export this scale for Tailwind in the Tailwind colors tool

#172F18 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)#302B160.040
Deuteranopia (no green cones)#2C29190.038
Tritanopia (no blue cones)#142E290.030
Achromatopsia (no color)#2A2A2A0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #172F18

    #172F18

    oklch(27.8% 0.051 144.9)

  • #351F36

    #351F36

    oklch(27.8% 0.051 325.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172F18

    #172F18

    oklch(27.8% 0.051 144.9)

  • #282B0A

    #282B0A

    oklch(27.8% 0.051 114.1)

  • #023027

    #023027

    oklch(27.7% 0.05 175.7)

Open the analogous palette in the generator

Split complementary

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

  • #172F18

    #172F18

    oklch(27.8% 0.051 144.9)

  • #2A233F

    #2A233F

    oklch(27.8% 0.051 294.3)

  • #3C1D2A

    #3C1D2A

    oklch(27.8% 0.052 354.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172F18

    #172F18

    oklch(27.8% 0.051 144.9)

  • #1C2842

    #1C2842

    oklch(28% 0.051 264.5)

  • #3E1E1B

    #3E1E1B

    oklch(27.9% 0.05 26.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172F18

    #172F18

    oklch(27.8% 0.051 144.9)

  • #082C3E

    #082C3E

    oklch(27.8% 0.052 235.2)

  • #351F36

    #351F36

    oklch(27.8% 0.051 325.3)

  • #3C210D

    #3C210D

    oklch(27.9% 0.052 55.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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