#31311B
Closest named color: Pakistan Green (#283618). oklch(30.7% 0.036 108.4), rgb(49, 49, 27).
Aa
White text reads best on this color (13.24:1).
About this color
#31311B is a dark, muted brown. In OKLCH its lightness is 31%, its chroma 0.036 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.024 away. White text reads best on it, at 13.24:1.
| Hue family | Browns |
| Lightness | dark (31%) |
| Chroma | muted (0.036) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.58:1 |
| White text | 13.24:1 |
Values
| HEX | #31311B |
| RGB | rgb(49, 49, 27) |
| HSL | hsl(60, 29%, 15%) |
| OKLCH | oklch(30.7% 0.036 108.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 #31311B | 13.24:1 | AAA | Lc -102.8 | Preferred for body text |
| Black text on #31311B | 1.58:1 | Fails | Lc 0.0 | Not readable |
| #31311B text on white | 13.24:1 | AAA | Lc 99.6 | Preferred for body text |
| #31311B text on black | 1.58: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
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#EAEBE1
oklch(93.7% 0.013 111.3)
-
Step 200
200
#DADBC9
oklch(88.6% 0.024 109.5)
-
Step 300
300
#C3C3A4
oklch(80.9% 0.042 107.3)
-
Step 400
400
#A4A472
oklch(70.6% 0.068 108)
-
Step 500
500
#8E8E4C
oklch(63.2% 0.088 108.7)
-
Step 600
600
#78772E
oklch(55.5% 0.095 108.4)
-
Step 700
700
#656420
oklch(49% 0.089 108.5)
-
Step 800
800
#53521D
oklch(42.8% 0.073 108.1)
-
Step 900
900
#44441E
oklch(37.7% 0.057 108.8)
-
Step 950
950 (this color)
#31311B
oklch(30.7% 0.036 108.4)
#31311B 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) | #342F19 | 0.008 |
| Deuteranopia (no green cones) | #35301C | 0.008 |
| Tritanopia (no blue cones) | #342E2C | 0.034 |
| Achromatopsia (no color) | #303030 | 0.036 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31311B
#31311B
oklch(30.7% 0.036 108.4)
- #2F2D41
#2F2D41
oklch(30.8% 0.036 288.7)
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 #31311B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.024
- Dark Olive #373E02 ΔE 0.057
- Onyx #343A40 ΔE 0.061
- Jet #212529 ΔE 0.063
- Gunmetal #293241 ΔE 0.065
- Dark Brown #341C02 ΔE 0.065
- Very Dark Green #062E03 ΔE 0.070
- Chocolate Brown #411900 ΔE 0.072
Use #31311B 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.