#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 family | Greens |
| Lightness | dark (28%) |
| Chroma | muted (0.051) |
| Temperature | in between |
| Nearest name | Very Dark Green (#062E03) |
| Black text | 1.45:1 |
| White text | 14.42:1 |
Values
| HEX | #172F18 |
| RGB | rgb(23, 47, 24) |
| HSL | hsl(122, 34%, 14%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F2F7F2
oklch(97.1% 0.008 145.5)
-
Step 100
100
#E3EDE3
oklch(93.6% 0.017 145.4)
-
Step 200
200
#CCDFCC
oklch(88.4% 0.033 145.3)
-
Step 300
300
#A9CCA9
oklch(81% 0.061 145)
-
Step 400
400
#7AB17B
oklch(70.8% 0.097 144.9)
-
Step 500
500
#559D58
oklch(63.1% 0.124 144.8)
-
Step 600
600
#36873D
oklch(55.6% 0.135 145)
-
Step 700
700
#28722F
oklch(49% 0.125 145)
-
Step 800
800
#235D28
oklch(42.6% 0.103 145)
-
Step 900
900
#224D25
oklch(37.8% 0.082 145.1)
-
Step 950
950 (this color)
#172F18
oklch(27.8% 0.051 144.9)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #302B16 | 0.040 |
| Deuteranopia (no green cones) | #2C2919 | 0.038 |
| Tritanopia (no blue cones) | #142E29 | 0.030 |
| Achromatopsia (no color) | #2A2A2A | 0.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)
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 #172F18, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Very Dark Green #062E03 ΔE 0.034
- Pakistan Green #283618 ΔE 0.036
- Dark Forest Green #002D04 ΔE 0.038
- Jet #212529 ΔE 0.057
- Hunter Green #0B4008 ΔE 0.068
- Dark #1B2431 ΔE 0.070
- Dark Brown #341C02 ΔE 0.072
- Dark Olive #373E02 ΔE 0.078
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.