#172C20
Closest named color: Jet (#212529). oklch(27.1% 0.035 157.9), rgb(23, 44, 32).
Aa
White text reads best on this color (14.81:1).
About this color
#172C20 is a dark, muted green. In OKLCH its lightness is 27%, its chroma 0.035 and its hue 158°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Jet (#212529), ΔE 0.038 away. White text reads best on it, at 14.81:1.
| Hue family | Greens |
| Lightness | dark (27%) |
| Chroma | muted (0.035) |
| Temperature | in between |
| Nearest name | Jet (#212529) |
| Black text | 1.41:1 |
| White text | 14.81:1 |
Values
| HEX | #172C20 |
| RGB | rgb(23, 44, 32) |
| HSL | hsl(146, 31%, 13%) |
| OKLCH | oklch(27.1% 0.035 157.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #172C20 | 14.81:1 | AAA | Lc -104.4 | Preferred for body text |
| Black text on #172C20 | 1.41:1 | Fails | Lc 0.0 | Not readable |
| #172C20 text on white | 14.81:1 | AAA | Lc 101.6 | Preferred for body text |
| #172C20 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.
-
Step 50
50
#F2F7F4
oklch(97.2% 0.007 160.1)
-
Step 100
100
#E4ECE7
oklch(93.6% 0.011 158.8)
-
Step 200
200
#CDDED3
oklch(88.5% 0.024 157.5)
-
Step 300
300
#ABC9B6
oklch(80.8% 0.042 157.5)
-
Step 400
400
#7DAE91
oklch(70.8% 0.067 158.2)
-
Step 500
500
#5A9975
oklch(63% 0.086 157.7)
-
Step 600
600
#3D845E
oklch(55.7% 0.094 157.9)
-
Step 700
700
#2F6F4D
oklch(49% 0.086 157.7)
-
Step 800
800
#285B40
oklch(42.8% 0.072 158.1)
-
Step 900
900
#264B36
oklch(37.8% 0.056 157.4)
-
Step 950
950 (this color)
#172C20
oklch(27.1% 0.035 157.9)
#172C20 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #2C291F | 0.033 |
| Deuteranopia (no green cones) | #282721 | 0.031 |
| Tritanopia (no blue cones) | #122C29 | 0.017 |
| Achromatopsia (no color) | #282828 | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #172C20
#172C20
oklch(27.1% 0.035 157.9)
- #32202D
#32202D
oklch(27.1% 0.035 337.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #172C20, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.038
- Pakistan Green #283618 ΔE 0.049
- Very Dark Green #062E03 ΔE 0.050
- Dark #1B2431 ΔE 0.050
- Dark Forest Green #002D04 ΔE 0.051
- Oxford Blue #1B263B ΔE 0.062
- Gunmetal #293241 ΔE 0.067
- Dark Brown #341C02 ΔE 0.069
Use #172C20 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.