#31331D
Closest named color: Pakistan Green (#283618). oklch(31.3% 0.036 112.7), rgb(49, 51, 29).
Aa
White text reads best on this color (12.94:1).
About this color
#31331D is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.036 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.021 away. White text reads best on it, at 12.94:1.
| Hue family | Browns |
| Lightness | dark (31%) |
| Chroma | muted (0.036) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.62:1 |
| White text | 12.94:1 |
Values
| HEX | #31331D |
| RGB | rgb(49, 51, 29) |
| HSL | hsl(65, 28%, 16%) |
| OKLCH | oklch(31.3% 0.036 112.7) |
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 #31331D | 12.94:1 | AAA | Lc -102.4 | Preferred for body text |
| Black text on #31331D | 1.62:1 | Fails | Lc 0.0 | Not readable |
| #31331D text on white | 12.94:1 | AAA | Lc 99.1 | Preferred for body text |
| #31331D text on black | 1.62: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
#EAEBE1
oklch(93.7% 0.013 111.3)
-
Step 200
200
#D9DBC9
oklch(88.5% 0.024 112)
-
Step 300
300
#C0C4A4
oklch(80.9% 0.044 113.2)
-
Step 400
400
#A1A673
oklch(70.8% 0.07 112.7)
-
Step 500
500
#8A8F4E
oklch(63.1% 0.088 112.5)
-
Step 600
600
#747930
oklch(55.6% 0.096 112.8)
-
Step 700
700
#616623
oklch(49.1% 0.09 113.3)
-
Step 800
800
#4F531F
oklch(42.7% 0.074 113.2)
-
Step 900
900
#42451F
oklch(37.8% 0.058 112.8)
-
Step 950
950 (this color)
#31331D
oklch(31.3% 0.036 112.7)
#31331D 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) | #36311B | 0.010 |
| Deuteranopia (no green cones) | #36321E | 0.010 |
| Tritanopia (no blue cones) | #34312D | 0.030 |
| Achromatopsia (no color) | #313131 | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31331D
#31331D
oklch(31.3% 0.036 112.7)
- #312E42
#312E42
oklch(31.3% 0.036 291.1)
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 #31331D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.021
- Dark Olive #373E02 ΔE 0.053
- Onyx #343A40 ΔE 0.057
- Gunmetal #293241 ΔE 0.064
- Jet #212529 ΔE 0.067
- Charcoal Grey #3C4142 ΔE 0.070
- Evergreen #05472A ΔE 0.071
- Dark Brown #341C02 ΔE 0.072
Use #31331D 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.