#5F310F
Closest named color: Chestnut (#742802). oklch(36.7% 0.081 53), rgb(95, 49, 15).
Aa
White text reads best on this color (10.86:1).
About this color
#5F310F is a dark, moderately saturated brown. In OKLCH its lightness is 37%, its chroma 0.081 and its hue 53°. Its hue sits on the warm side of the wheel. The nearest named color is Chestnut (#742802), ΔE 0.044 away. White text reads best on it, at 10.86:1.
| Hue family | Browns |
| Lightness | dark (37%) |
| Chroma | moderately saturated (0.081) |
| Temperature | warm |
| Nearest name | Chestnut (#742802) |
| Black text | 1.93:1 |
| White text | 10.86:1 |
Values
| HEX | #5F310F |
| RGB | rgb(95, 49, 15) |
| HSL | hsl(26, 73%, 22%) |
| OKLCH | oklch(36.7% 0.081 53) |
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 #5F310F | 10.86:1 | AAA | Lc -98.7 | Preferred for body text |
| Black text on #5F310F | 1.93:1 | Fails | Lc 9.1 | Not readable |
| #5F310F text on white | 10.86:1 | AAA | Lc 94.8 | Preferred for body text |
| #5F310F text on black | 1.93:1 | Fails | Lc -7.8 | 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
#FAF4F0
oklch(97.1% 0.008 56.3)
-
Step 100
100
#F4E7DF
oklch(93.6% 0.018 54)
-
Step 200
200
#ECD4C5
oklch(88.6% 0.034 54.1)
-
Step 300
300
#E1B79D
oklch(81% 0.06 53.4)
-
Step 400
400
#D09066
oklch(70.7% 0.096 53.8)
-
Step 500
500
#C3723B
oklch(63.1% 0.124 52.6)
-
Step 600
600
#AE5911
oklch(55.6% 0.134 53.3)
-
Step 700
700
#954800
oklch(49% 0.124 53)
-
Step 800
800
#793C08
oklch(42.7% 0.103 53.4)
-
Step 900
900 (this color)
#5F310F
oklch(36.7% 0.081 53)
-
Step 950
950
#3A1F0C
oklch(27.1% 0.052 53.7)
#5F310F 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) | #3E370A | 0.068 |
| Deuteranopia (no green cones) | #49410F | 0.061 |
| Tritanopia (no blue cones) | #69272A | 0.051 |
| Achromatopsia (no color) | #3D3D3D | 0.081 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5F310F
#5F310F
oklch(36.7% 0.081 53)
- #004560
#004560
oklch(36.7% 0.076 232.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 #5F310F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Chestnut #742802 ΔE 0.044
- Mud Brown #60460F ΔE 0.060
- Purple Brown #673A3F ΔE 0.064
- Reddy Brown #6E1005 ΔE 0.065
- Blood #770001 ΔE 0.081
- Dark Olive #373E02 ΔE 0.086
- Charcoal Grey #3C4142 ΔE 0.087
- Maroon #800000 ΔE 0.088
Use #5F310F 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.