#31321B
Closest named color: Pakistan Green (#283618). oklch(30.9% 0.038 110.6), rgb(49, 50, 27).
Aa
White text reads best on this color (13.10:1).
About this color
#31321B is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.038 and its hue 111°. 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 13.10:1.
| Hue family | Browns |
| Lightness | dark (31%) |
| Chroma | muted (0.038) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.60:1 |
| White text | 13.10:1 |
Values
| HEX | #31321B |
| RGB | rgb(49, 50, 27) |
| HSL | hsl(63, 30%, 15%) |
| OKLCH | oklch(30.9% 0.038 110.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 #31321B | 13.10:1 | AAA | Lc -102.6 | Preferred for body text |
| Black text on #31321B | 1.60:1 | Fails | Lc 0.0 | Not readable |
| #31321B text on white | 13.10:1 | AAA | Lc 99.4 | Preferred for body text |
| #31321B text on black | 1.60: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
#D9DBC8
oklch(88.5% 0.026 111.8)
-
Step 300
300
#C1C4A3
oklch(80.9% 0.045 111.6)
-
Step 400
400
#A2A571
oklch(70.7% 0.071 110.9)
-
Step 500
500
#8C8F4A
oklch(63.2% 0.092 111)
-
Step 600
600
#76782B
oklch(55.5% 0.099 110.6)
-
Step 700
700
#64651D
oklch(49.1% 0.093 110.1)
-
Step 800
800
#51531B
oklch(42.8% 0.077 111.2)
-
Step 900
900
#43441C
oklch(37.6% 0.059 110.2)
-
Step 950
950 (this color)
#31321B
oklch(30.9% 0.038 110.6)
#31321B 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) | #353019 | 0.009 |
| Deuteranopia (no green cones) | #35311C | 0.008 |
| Tritanopia (no blue cones) | #342F2C | 0.034 |
| Achromatopsia (no color) | #313131 | 0.038 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31321B
#31321B
oklch(30.9% 0.038 110.6)
- #302D42
#302D42
oklch(31% 0.037 290.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 #31321B, 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.054
- Onyx #343A40 ΔE 0.060
- Gunmetal #293241 ΔE 0.066
- Jet #212529 ΔE 0.066
- Dark Brown #341C02 ΔE 0.068
- Very Dark Green #062E03 ΔE 0.071
- Hunter Green #0B4008 ΔE 0.072
Use #31321B 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.