#312418
Closest named color: Dark Brown (#341C02). oklch(27.2% 0.029 63.9), rgb(49, 36, 24).
Aa
White text reads best on this color (15.04:1).
About this color
#312418 is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.031 away. White text reads best on it, at 15.04:1.
| Hue family | Neutrals |
| Lightness | dark (27%) |
| Chroma | close to neutral grey (0.029) |
| Temperature | neutral |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.39:1 |
| White text | 15.04:1 |
Values
| HEX | #312418 |
| RGB | rgb(49, 36, 24) |
| HSL | hsl(29, 34%, 14%) |
| OKLCH | oklch(27.2% 0.029 63.9) |
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 #312418 | 15.04:1 | AAA | Lc -104.7 | Preferred for body text |
| Black text on #312418 | 1.39:1 | Fails | Lc 0.0 | Not readable |
| #312418 text on white | 15.04:1 | AAA | Lc 101.9 | Preferred for body text |
| #312418 text on black | 1.39: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
#F8F5F2
oklch(97.2% 0.005 67.8)
-
Step 100
100
#EFE9E3
oklch(93.7% 0.01 67.7)
-
Step 200
200
#E2D7CD
oklch(88.5% 0.018 64.9)
-
Step 300
300
#D1BCAA
oklch(80.8% 0.034 62.9)
-
Step 400
400
#B99A7E
oklch(70.7% 0.054 63.9)
-
Step 500
500
#A8815D
oklch(63.2% 0.07 63.7)
-
Step 600
600
#936A43
oklch(55.7% 0.076 63.8)
-
Step 700
700
#7D5834
oklch(49.2% 0.071 64.1)
-
Step 800
800
#65482C
oklch(42.7% 0.058 64.3)
-
Step 900
900
#533C28
oklch(37.7% 0.045 61.8)
-
Step 950
950 (this color)
#312418
oklch(27.2% 0.029 63.9)
#312418 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) | #282517 | 0.018 |
| Deuteranopia (no green cones) | #2B2818 | 0.017 |
| Tritanopia (no blue cones) | #352121 | 0.023 |
| Achromatopsia (no color) | #262626 | 0.029 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #312418
#312418
oklch(27.2% 0.029 63.9)
- #1B2934
#1B2934
oklch(27.3% 0.028 242.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 #312418, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.031
- Jet #212529 ΔE 0.039
- Chocolate Brown #411900 ΔE 0.045
- Dark #1B2431 ΔE 0.058
- Pakistan Green #283618 ΔE 0.063
- Oxford Blue #1B263B ΔE 0.070
- Space Cadet #2B2D42 ΔE 0.071
- Gunmetal #293241 ΔE 0.072
Use #312418 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.