#172F06

Closest named color: Very Dark Green (#062E03). oklch(27.5% 0.071 135), rgb(23, 47, 6).

Aa

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

About this color

#172F06 is a dark, moderately saturated green. In OKLCH its lightness is 28%, its chroma 0.071 and its hue 135°. 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 14.52:1.

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

Values

HEX#172F06
RGBrgb(23, 47, 6)
HSLhsl(95, 77%, 10%)
OKLCHoklch(27.5% 0.071 135)

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 #172F06 14.52:1 AAA Lc -104.1 Preferred for body text
Black text on #172F06 1.44:1 Fails Lc 0.0 Not readable
#172F06 text on white 14.52:1 AAA Lc 101.2 Preferred for body text
#172F06 text on black 1.44: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

    #E3EEDE

    oklch(93.6% 0.024 135.7)

  3. Step 200

    200

    #CCE1C2

    oklch(88.6% 0.047 135.5)

  4. Step 300

    300

    #A9CD96

    oklch(80.8% 0.084 135)

  5. Step 400

    400

    #7BB359

    oklch(70.7% 0.135 134.9)

  6. Step 500

    500

    #579F1D

    oklch(63.1% 0.173 135.1)

  7. Step 600

    600

    #448700

    oklch(55.7% 0.163 135.2)

  8. Step 700

    700

    #397100

    oklch(49.1% 0.143 134.9)

  9. Step 800

    800

    #2D5D00

    oklch(42.7% 0.125 135.1)

  10. Step 900

    900

    #254D00

    oklch(37.6% 0.109 134.8)

  11. Step 950

    950 (this color)

    #172F06

    oklch(27.5% 0.071 135)

Export this scale for Tailwind in the Tailwind colors tool

#172F06 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)#312A020.043
Deuteranopia (no green cones)#2E280A0.044
Tritanopia (no blue cones)#162D270.051
Achromatopsia (no color)#2929290.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #172F06

    #172F06

    oklch(27.5% 0.071 135)

  • #351B3F

    #351B3F

    oklch(27.5% 0.071 315.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172F06

    #172F06

    oklch(27.5% 0.071 135)

  • #2C2900

    #2C2900

    oklch(27.5% 0.059 105.4)

  • #003020

    #003020

    oklch(27.4% 0.058 164.8)

Open the analogous palette in the generator

Split complementary

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

  • #172F06

    #172F06

    oklch(27.5% 0.071 135)

  • #252149

    #252149

    oklch(27.5% 0.072 285.2)

  • #3F1730

    #3F1730

    oklch(27.5% 0.072 344.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172F06

    #172F06

    oklch(27.5% 0.071 135)

  • #0C284A

    #0C284A

    oklch(27.6% 0.071 255.2)

  • #44161C

    #44161C

    oklch(27.5% 0.071 15.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172F06

    #172F06

    oklch(27.5% 0.071 135)

  • #002D3B

    #002D3B

    oklch(27.6% 0.052 224.6)

  • #351B3F

    #351B3F

    oklch(27.5% 0.071 315.9)

  • #431A05

    #431A05

    oklch(27.6% 0.071 45)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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