#40341A
Closest named color: Pakistan Green (#283618). oklch(33.1% 0.044 85.2), rgb(64, 52, 26).
Aa
White text reads best on this color (12.18:1).
About this color
#40341A is a dark, muted brown. In OKLCH its lightness is 33%, its chroma 0.044 and its hue 85°. Its hue sits on the warm side of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.042 away. White text reads best on it, at 12.18:1.
| Hue family | Browns |
| Lightness | dark (33%) |
| Chroma | muted (0.044) |
| Temperature | warm |
| Nearest name | Pakistan Green (#283618) |
| Black text | 1.72:1 |
| White text | 12.18:1 |
Values
| HEX | #40341A |
| RGB | rgb(64, 52, 26) |
| HSL | hsl(41, 42%, 18%) |
| OKLCH | oklch(33.1% 0.044 85.2) |
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 #40341A | 12.18:1 | AAA | Lc -101.3 | Preferred for body text |
| Black text on #40341A | 1.72:1 | Fails | Lc 0.0 | Not readable |
| #40341A text on white | 12.18:1 | AAA | Lc 97.8 | Preferred for body text |
| #40341A text on black | 1.72: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
#F7F5F2
oklch(97.1% 0.005 78.3)
-
Step 100
100
#EDE9E3
oklch(93.5% 0.009 78.3)
-
Step 200
200
#DFD8CC
oklch(88.4% 0.018 81.3)
-
Step 300
300
#CABFA9
oklch(80.8% 0.033 84.6)
-
Step 400
400
#B09F7B
oklch(70.8% 0.053 85.6)
-
Step 500
500
#9C875A
oklch(63.2% 0.067 85.5)
-
Step 600
600
#87703F
oklch(55.6% 0.073 84.9)
-
Step 700
700
#725E31
oklch(49.1% 0.068 85.9)
-
Step 800
800
#5D4D29
oklch(42.8% 0.057 86)
-
Step 900
900 (this color)
#40341A
oklch(33.1% 0.044 85.2)
-
Step 950
950
#2D2516
oklch(26.9% 0.028 82.6)
#40341A 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) | #3A3418 | 0.012 |
| Deuteranopia (no green cones) | #3D371B | 0.010 |
| Tritanopia (no blue cones) | #45302E | 0.039 |
| Achromatopsia (no color) | #353535 | 0.044 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40341A
#40341A
oklch(33.1% 0.044 85.2)
- #2B354D
#2B354D
oklch(33.1% 0.045 266.6)
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 #40341A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pakistan Green #283618 ΔE 0.042
- Dark Olive #373E02 ΔE 0.049
- Onyx #343A40 ΔE 0.058
- Charcoal Grey #3C4142 ΔE 0.062
- Gunmetal #293241 ΔE 0.075
- Chocolate Brown #411900 ΔE 0.076
- Dark Brown #341C02 ΔE 0.080
- Evergreen #05472A ΔE 0.081
Use #40341A 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.