#312D08
Closest named color: Pakistan Green (#283618). oklch(29.3% 0.054 103.1), rgb(49, 45, 8).
Aa
White text reads best on this color (13.91:1).
About this color
#312D08 is a dark, muted brown. In OKLCH its lightness is 29%, its chroma 0.054 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.031 away. White text reads best on it, at 13.91:1.
| Hue family | Browns |
| Lightness | dark (29%) |
| Chroma | muted (0.054) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.50:1 |
| White text | 13.91:1 |
Values
| HEX | #312D08 |
| RGB | rgb(49, 45, 8) |
| HSL | hsl(54, 72%, 11%) |
| OKLCH | oklch(29.3% 0.054 103.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 #312D08 | 13.91:1 | AAA | Lc -103.5 | Preferred for body text |
| Black text on #312D08 | 1.50:1 | Fails | Lc 0.0 | Not readable |
| #312D08 text on white | 13.91:1 | AAA | Lc 100.5 | Preferred for body text |
| #312D08 text on black | 1.50: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
#F6F6EF
oklch(97.1% 0.009 106.6)
-
Step 100
100
#ECEBDD
oklch(93.7% 0.019 103.4)
-
Step 200
200
#DDDBC0
oklch(88.6% 0.036 103.6)
-
Step 300
300
#C8C393
oklch(80.9% 0.064 102.7)
-
Step 400
400
#ACA354
oklch(70.6% 0.101 102.8)
-
Step 500
500
#988C0C
oklch(63.1% 0.13 103.3)
-
Step 600
600
#807500
oklch(55.5% 0.117 103)
-
Step 700
700
#6C6200
oklch(49% 0.103 102.5)
-
Step 800
800
#585000
oklch(42.6% 0.089 102.9)
-
Step 900
900
#494300
oklch(37.7% 0.08 103.8)
-
Step 950
950 (this color)
#312D08
oklch(29.3% 0.054 103.1)
#312D08 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) | #322B04 | 0.007 |
| Deuteranopia (no green cones) | #332D0A | 0.005 |
| Tritanopia (no blue cones) | #352926 | 0.050 |
| Achromatopsia (no color) | #2C2C2C | 0.054 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #312D08
#312D08
oklch(29.3% 0.054 103.1)
- #282846
#282846
oklch(29.2% 0.054 282.5)
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 #312D08, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.031
- Dark Brown #341C02 ΔE 0.053
- Dark Olive #373E02 ΔE 0.060
- Very Dark Green #062E03 ΔE 0.060
- Chocolate Brown #411900 ΔE 0.064
- Dark Forest Green #002D04 ΔE 0.066
- Jet #212529 ΔE 0.069
- Hunter Green #0B4008 ΔE 0.075
Use #312D08 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.