#172F0F

Closest named color: Very Dark Green (#062E03). oklch(27.7% 0.062 138.5), rgb(23, 47, 15).

Aa

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

About this color

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

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

Values

HEX#172F0F
RGBrgb(23, 47, 15)
HSLhsl(105, 52%, 12%)
OKLCHoklch(27.7% 0.062 138.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 #172F0F 14.48:1 AAA Lc -104.1 Preferred for body text
Black text on #172F0F 1.44:1 Fails Lc 0.0 Not readable
#172F0F text on white 14.48:1 AAA Lc 101.2 Preferred for body text
#172F0F 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EEE0

    oklch(93.7% 0.022 139)

  3. Step 200

    200

    #CCE0C6

    oklch(88.5% 0.041 138.5)

  4. Step 300

    300

    #A9CD9F

    oklch(81% 0.074 138.9)

  5. Step 400

    400

    #7AB269

    oklch(70.7% 0.118 138.6)

  6. Step 500

    500

    #569E3D

    oklch(63.1% 0.151 138.5)

  7. Step 600

    600

    #398815

    oklch(55.6% 0.163 138.5)

  8. Step 700

    700

    #2A7302

    oklch(49% 0.152 138.5)

  9. Step 800

    800

    #255E0B

    oklch(42.7% 0.126 138.5)

  10. Step 900

    900

    #234D14

    oklch(37.6% 0.098 138.6)

  11. Step 950

    950 (this color)

    #172F0F

    oklch(27.7% 0.062 138.5)

Export this scale for Tailwind in the Tailwind colors tool

#172F0F 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)#312B0C0.042
Deuteranopia (no green cones)#2D29110.040
Tritanopia (no blue cones)#152D280.043
Achromatopsia (no color)#2929290.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #172F0F

    #172F0F

    oklch(27.7% 0.062 138.5)

  • #351D3B

    #351D3B

    oklch(27.7% 0.062 319.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #172F0F

    #172F0F

    oklch(27.7% 0.062 138.5)

  • #2B2A00

    #2B2A00

    oklch(27.7% 0.06 108.4)

  • #003123

    #003123

    oklch(27.8% 0.056 168)

Open the analogous palette in the generator

Split complementary

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

  • #172F0F

    #172F0F

    oklch(27.7% 0.062 138.5)

  • #272244

    #272244

    oklch(27.6% 0.062 288.4)

  • #3E1A2D

    #3E1A2D

    oklch(27.7% 0.062 349)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #172F0F

    #172F0F

    oklch(27.7% 0.062 138.5)

  • #142846

    #142846

    oklch(27.7% 0.062 258.3)

  • #421A1C

    #421A1C

    oklch(27.8% 0.062 18.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #172F0F

    #172F0F

    oklch(27.7% 0.062 138.5)

  • #002D3D

    #002D3D

    oklch(27.7% 0.054 228)

  • #351D3B

    #351D3B

    oklch(27.7% 0.062 319.4)

  • #401D08

    #401D08

    oklch(27.6% 0.063 48.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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