#1F372D
Closest named color: Pakistan Green (#283618). oklch(31.4% 0.035 165.9), rgb(31, 55, 45).
Aa
White text reads best on this color (12.78:1).
About this color
#1F372D is a dark, muted green. In OKLCH its lightness is 31%, its chroma 0.035 and its hue 166°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.032 away. White text reads best on it, at 12.78:1.
| Hue family | Greens |
| Lightness | dark (31%) |
| Chroma | muted (0.035) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.64:1 |
| White text | 12.78:1 |
Values
| HEX | #1F372D |
| RGB | rgb(31, 55, 45) |
| HSL | hsl(155, 28%, 17%) |
| OKLCH | oklch(31.4% 0.035 165.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 #1F372D | 12.78:1 | AAA | Lc -102.2 | Preferred for body text |
| Black text on #1F372D | 1.64:1 | Fails | Lc 0.0 | Not readable |
| #1F372D text on white | 12.78:1 | AAA | Lc 98.8 | Preferred for body text |
| #1F372D text on black | 1.64: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
#E3EDE8
oklch(93.7% 0.013 164.8)
-
Step 200
200
#CCDED5
oklch(88.5% 0.023 164.5)
-
Step 300
300
#A8CABA
oklch(81% 0.043 165.2)
-
Step 400
400
#78AE97
oklch(70.6% 0.066 166.1)
-
Step 500
500
#529A7D
oklch(63.1% 0.086 165.6)
-
Step 600
600
#328467
oklch(55.5% 0.092 166.5)
-
Step 700
700
#247055
oklch(49.1% 0.086 165.7)
-
Step 800
800
#205B46
oklch(42.6% 0.071 166.4)
-
Step 900
900
#214B3B
oklch(37.7% 0.055 166.2)
-
Step 950
950 (this color)
#1F372D
oklch(31.4% 0.035 165.9)
#1F372D 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) | #36342D | 0.035 |
| Deuteranopia (no green cones) | #32312E | 0.034 |
| Tritanopia (no blue cones) | #193734 | 0.013 |
| Achromatopsia (no color) | #323232 | 0.035 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F372D
#1F372D
oklch(31.4% 0.035 165.9)
- #3F2A35
#3F2A35
oklch(31.4% 0.036 346.6)
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 #1F372D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.032
- Onyx #343A40 ΔE 0.048
- Gunmetal #293241 ΔE 0.048
- Midnight Green #073B4C ΔE 0.053
- Dark Blue Grey #1F3B4D ΔE 0.055
- Evergreen #05472A ΔE 0.059
- Space Cadet #2B2D42 ΔE 0.062
- Jet #212529 ΔE 0.062
Use #1F372D 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.