#31391A
Closest named color: Pakistan Green (#283618). oklch(32.9% 0.051 121.1), rgb(49, 57, 26).
Aa
White text reads best on this color (12.13:1).
About this color
#31391A is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.051 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.019 away. White text reads best on it, at 12.13:1.
| Hue family | Browns |
| Lightness | dark (33%) |
| Chroma | muted (0.051) |
| Temperature | in between |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.73:1 |
| White text | 12.13:1 |
Values
| HEX | #31391A |
| RGB | rgb(49, 57, 26) |
| HSL | hsl(75, 37%, 16%) |
| OKLCH | oklch(32.9% 0.051 121.1) |
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 #31391A | 12.13:1 | AAA | Lc -101.2 | Preferred for body text |
| Black text on #31391A | 1.73:1 | Fails | Lc 0.0 | Not readable |
| #31391A text on white | 12.13:1 | AAA | Lc 97.7 | Preferred for body text |
| #31391A text on black | 1.73: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 900.
-
Step 50
50
#F5F6F2
oklch(97.1% 0.005 117.9)
-
Step 100
100
#E8EBE3
oklch(93.6% 0.011 123.5)
-
Step 200
200
#D7DBCC
oklch(88.4% 0.021 119)
-
Step 300
300
#BDC5AA
oklch(81% 0.038 120.7)
-
Step 400
400
#9BA77C
oklch(70.8% 0.061 120.6)
-
Step 500
500
#82915B
oklch(63.1% 0.078 121.3)
-
Step 600
600
#6C7B40
oklch(55.6% 0.085 120.9)
-
Step 700
700
#5A6832
oklch(49.2% 0.079 121.4)
-
Step 800
800
#49542A
oklch(42.5% 0.065 121.3)
-
Step 900
900 (this color)
#31391A
oklch(32.9% 0.051 121.1)
-
Step 950
950
#242917
oklch(27% 0.032 121.2)
#31391A 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) | #3C3617 | 0.020 |
| Deuteranopia (no green cones) | #3B361C | 0.020 |
| Tritanopia (no blue cones) | #333632 | 0.043 |
| Achromatopsia (no color) | #363636 | 0.051 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #31391A
#31391A
oklch(32.9% 0.051 121.1)
- #392F4B
#392F4B
oklch(32.9% 0.05 300.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 #31391A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.019
- Dark Olive #373E02 ΔE 0.032
- Evergreen #05472A ΔE 0.054
- Hunter Green #0B4008 ΔE 0.056
- Forrest Green #154406 ΔE 0.058
- Pine Green #0A481E ΔE 0.059
- Onyx #343A40 ΔE 0.062
- Charcoal Grey #3C4142 ΔE 0.067
Use #31391A 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.