#31371C
Closest named color: Pakistan Green (#283618). oklch(32.3% 0.045 119.2), rgb(49, 55, 28).
Aa
White text reads best on this color (12.39:1).
About this color
#31371C is a dark, muted brown. In OKLCH its lightness is 32%, its chroma 0.045 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.017 away. White text reads best on it, at 12.39:1.
| Hue family | Browns |
| Lightness | dark (32%) |
| Chroma | muted (0.045) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.69:1 |
| White text | 12.39:1 |
Values
| HEX | #31371C |
| RGB | rgb(49, 55, 28) |
| HSL | hsl(73, 33%, 16%) |
| OKLCH | oklch(32.3% 0.045 119.2) |
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 #31371C | 12.39:1 | AAA | Lc -101.6 | Preferred for body text |
| Black text on #31371C | 1.69:1 | Fails | Lc 0.0 | Not readable |
| #31371C text on white | 12.39:1 | AAA | Lc 98.2 | Preferred for body text |
| #31371C text on black | 1.69: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
#F5F6F1
oklch(97.1% 0.007 115.7)
-
Step 100
100
#E8EBE0
oklch(93.5% 0.015 119.1)
-
Step 200
200
#D7DCC7
oklch(88.5% 0.029 117.9)
-
Step 300
300
#BCC6A0
oklch(80.9% 0.053 119.6)
-
Step 400
400
#9AA86B
oklch(70.6% 0.085 119.1)
-
Step 500
500
#829342
oklch(63.2% 0.109 119.5)
-
Step 600
600
#6C7C1E
oklch(55.5% 0.117 118.9)
-
Step 700
700
#5A690F
oklch(49.1% 0.11 119.4)
-
Step 800
800
#4A5611
oklch(42.8% 0.091 119.2)
-
Step 900
900
#3D4717
oklch(37.7% 0.071 119.9)
-
Step 950
950 (this color)
#31371C
oklch(32.3% 0.045 119.2)
#31371C 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) | #3A341A | 0.017 |
| Deuteranopia (no green cones) | #39341D | 0.017 |
| Tritanopia (no blue cones) | #333430 | 0.038 |
| Achromatopsia (no color) | #343434 | 0.045 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31371C
#31371C
oklch(32.3% 0.045 119.2)
- #372F47
#372F47
oklch(32.4% 0.043 299.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 #31371C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.017
- Dark Olive #373E02 ΔE 0.040
- Onyx #343A40 ΔE 0.058
- Evergreen #05472A ΔE 0.060
- Hunter Green #0B4008 ΔE 0.061
- Forrest Green #154406 ΔE 0.065
- Pine Green #0A481E ΔE 0.065
- Charcoal Grey #3C4142 ΔE 0.066
Use #31371C 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.