#173A2D
Closest named color: Pakistan Green (#283618). oklch(31.8% 0.047 166.6), rgb(23, 58, 45).
Aa
White text reads best on this color (12.50:1).
About this color
#173A2D is a dark, muted green. In OKLCH its lightness is 32%, its chroma 0.047 and its hue 167°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.033 away. White text reads best on it, at 12.50:1.
| Hue family | Greens |
| Lightness | dark (32%) |
| Chroma | muted (0.047) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.67:1 |
| White text | 12.50:1 |
Values
| HEX | #173A2D |
| RGB | rgb(23, 58, 45) |
| HSL | hsl(158, 43%, 16%) |
| OKLCH | oklch(31.8% 0.047 166.6) |
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 #173A2D | 12.50:1 | AAA | Lc -101.7 | Preferred for body text |
| Black text on #173A2D | 1.67:1 | Fails | Lc 0.0 | Not readable |
| #173A2D text on white | 12.50:1 | AAA | Lc 98.3 | Preferred for body text |
| #173A2D text on black | 1.67: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
#F1F7F4
oklch(97.1% 0.007 164.9)
-
Step 100
100
#E0EDE7
oklch(93.5% 0.016 166.7)
-
Step 200
200
#C7E0D5
oklch(88.5% 0.03 167.4)
-
Step 300
300
#9FCDB9
oklch(81% 0.056 166.6)
-
Step 400
400
#65B394
oklch(70.8% 0.091 166.2)
-
Step 500
500
#2F9F7A
oklch(63.1% 0.114 166.6)
-
Step 600
600
#008864
oklch(55.6% 0.115 166.4)
-
Step 700
700
#007254
oklch(49% 0.101 166.9)
-
Step 800
800
#005E44
oklch(42.7% 0.088 166.3)
-
Step 900
900
#064E39
oklch(37.7% 0.075 166.8)
-
Step 950
950 (this color)
#173A2D
oklch(31.8% 0.047 166.6)
#173A2D 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) | #39362C | 0.048 |
| Deuteranopia (no green cones) | #33322E | 0.046 |
| Tritanopia (no blue cones) | #093A36 | 0.017 |
| Achromatopsia (no color) | #343434 | 0.048 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #173A2D
#173A2D
oklch(31.8% 0.047 166.6)
- #442837
#442837
oklch(31.8% 0.048 346.8)
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 #173A2D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.033
- Evergreen #05472A ΔE 0.048
- Midnight Green #073B4C ΔE 0.054
- Onyx #343A40 ΔE 0.054
- Gunmetal #293241 ΔE 0.058
- Dark Blue Grey #1F3B4D ΔE 0.059
- Hunter Green #0B4008 ΔE 0.061
- Pine Green #0A481E ΔE 0.061
Use #173A2D 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.