#331F02
Closest named color: Dark Brown (#341C02). oklch(25.9% 0.053 72.6), rgb(51, 31, 2).
Aa
White text reads best on this color (15.69:1).
About this color
#331F02 is a dark, muted brown. In OKLCH its lightness is 26%, its chroma 0.053 and its hue 73°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.009 away. White text reads best on it, at 15.69:1.
| Hue family | Browns |
| Lightness | dark (26%) |
| Chroma | muted (0.053) |
| Temperature | warm |
| Nearest name | Dark Brown (#341C02) |
| Black text | 1.33:1 |
| White text | 15.69:1 |
Values
| HEX | #331F02 |
| RGB | rgb(51, 31, 2) |
| HSL | hsl(36, 92%, 10%) |
| OKLCH | oklch(25.9% 0.053 72.6) |
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 #331F02 | 15.69:1 | AAA | Lc -105.2 | Preferred for body text |
| Black text on #331F02 | 1.33:1 | Fails | Lc 0.0 | Not readable |
| #331F02 text on white | 15.69:1 | AAA | Lc 102.5 | Preferred for body text |
| #331F02 text on black | 1.33: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
#F9F5EF
oklch(97.2% 0.009 78.3)
-
Step 100
100
#F2E8DD
oklch(93.6% 0.018 70.2)
-
Step 200
200
#E8D6C1
oklch(88.5% 0.035 71.6)
-
Step 300
300
#DABB95
oklch(80.9% 0.062 72.4)
-
Step 400
400
#C79657
oklch(70.6% 0.1 72)
-
Step 500
500
#B87B19
oklch(63.1% 0.128 72.3)
-
Step 600
600
#9D6600
oklch(55.6% 0.119 72.5)
-
Step 700
700
#845500
oklch(49% 0.105 72.4)
-
Step 800
800
#6D4500
oklch(42.6% 0.091 72)
-
Step 900
900
#5B3900
oklch(37.6% 0.08 72.2)
-
Step 950
950 (this color)
#331F02
oklch(25.9% 0.053 72.6)
#331F02 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) | #262000 | 0.029 |
| Deuteranopia (no green cones) | #2B2503 | 0.024 |
| Tritanopia (no blue cones) | #391A19 | 0.043 |
| Achromatopsia (no color) | #232323 | 0.053 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #331F02
#331F02
oklch(25.9% 0.053 72.6)
- #0F253C
#0F253C
oklch(25.9% 0.052 251.4)
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 #331F02, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Brown #341C02 ΔE 0.009
- Chocolate Brown #411900 ΔE 0.033
- Jet #212529 ΔE 0.062
- Deep Brown #410200 ΔE 0.069
- Pakistan Green #283618 ΔE 0.073
- Mahogany #4A0100 ΔE 0.075
- Dark Maroon #3C0008 ΔE 0.079
- Dark #1B2431 ΔE 0.080
Use #331F02 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.