#1F372A
Closest named color: Pakistan Green (#283618). oklch(31.3% 0.038 159.4), rgb(31, 55, 42).
Aa
White text reads best on this color (12.81:1).
About this color
#1F372A is a dark, muted green. In OKLCH its lightness is 31%, its chroma 0.038 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.027 away. White text reads best on it, at 12.81:1.
| Hue family | Greens |
| Lightness | dark (31%) |
| Chroma | muted (0.038) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.63:1 |
| White text | 12.81:1 |
Values
| HEX | #1F372A |
| RGB | rgb(31, 55, 42) |
| HSL | hsl(147, 28%, 17%) |
| OKLCH | oklch(31.3% 0.038 159.4) |
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 #1F372A | 12.81:1 | AAA | Lc -102.2 | Preferred for body text |
| Black text on #1F372A | 1.63:1 | Fails | Lc 0.0 | Not readable |
| #1F372A text on white | 12.81:1 | AAA | Lc 98.9 | Preferred for body text |
| #1F372A text on black | 1.63: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
#E3EDE7
oklch(93.7% 0.013 159.9)
-
Step 200
200
#CCDFD3
oklch(88.6% 0.026 158.1)
-
Step 300
300
#A8CAB6
oklch(80.8% 0.046 159.4)
-
Step 400
400
#78AF91
oklch(70.7% 0.073 159.9)
-
Step 500
500
#539B75
oklch(63.2% 0.093 159.1)
-
Step 600
600
#33855E
oklch(55.6% 0.101 159.6)
-
Step 700
700
#25714D
oklch(49.2% 0.095 159.1)
-
Step 800
800
#215C40
oklch(42.8% 0.077 159.7)
-
Step 900
900
#214B36
oklch(37.6% 0.06 159.8)
-
Step 950
950 (this color)
#1F372A
oklch(31.3% 0.038 159.4)
#1F372A 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) | #373429 | 0.037 |
| Deuteranopia (no green cones) | #33312B | 0.036 |
| Tritanopia (no blue cones) | #1A3733 | 0.016 |
| Achromatopsia (no color) | #323232 | 0.039 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #1F372A
#1F372A
oklch(31.3% 0.038 159.4)
- #3E2937
#3E2937
oklch(31.2% 0.039 339.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 and gradients that use #1F372A
These curated palettes and gradients contain exactly #1F372A. Open one to see the full color scheme around it.
Palettes
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.027
- Onyx #343A40 ΔE 0.052
- Gunmetal #293241 ΔE 0.053
- Evergreen #05472A ΔE 0.057
- Midnight Green #073B4C ΔE 0.058
- Dark Blue Grey #1F3B4D ΔE 0.060
- Jet #212529 ΔE 0.064
- Dark Olive #373E02 ΔE 0.065
Use #1F372A 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.