#795B40
Closest named color: Cocoa (#875F42). oklch(49.5% 0.056 62.9), rgb(121, 91, 64).
Aa
White text reads best on this color (6.20:1).
About this color
#795B40 is a medium-dark, muted brown. In OKLCH its lightness is 50%, its chroma 0.056 and its hue 63°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.028 away. White text reads best on it, at 6.20:1.
| Hue family | Browns |
| Lightness | medium-dark (50%) |
| Chroma | muted (0.056) |
| Temperature | warm |
| Nearest name | Cocoa (#875F42) |
| Black text | 3.38:1 |
| White text | 6.20:1 |
Values
| HEX | #795B40 |
| RGB | rgb(121, 91, 64) |
| HSL | hsl(28, 31%, 36%) |
| OKLCH | oklch(49.5% 0.056 62.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 #795B40 | 6.20:1 | AA | Lc -86.0 | Fine for body text |
| Black text on #795B40 | 3.38:1 | AA large text | Lc 23.2 | Dividers and decoration only |
| #795B40 text on white | 6.20:1 | AA | Lc 80.9 | Fine for body text |
| #795B40 text on black | 3.38:1 | AA large text | Lc -21.0 | Dividers and decoration only |
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 700.
-
Step 50
50
#F7F5F3
oklch(97.1% 0.003 67.8)
-
Step 100
100
#EEE9E5
oklch(93.7% 0.008 61.4)
-
Step 200
200
#E1D7CF
oklch(88.5% 0.016 61.3)
-
Step 300
300
#CEBDAF
oklch(80.9% 0.027 61.9)
-
Step 400
400
#B59B85
oklch(70.7% 0.044 62.3)
-
Step 500
500
#A28367
oklch(63.2% 0.055 63.7)
-
Step 600
600
#8D6C4E
oklch(55.7% 0.06 63.4)
-
Step 700
700 (this color)
#795B40
oklch(49.5% 0.056 62.9)
-
Step 800
800
#614934
oklch(42.5% 0.046 62.3)
-
Step 900
900
#503E2D
oklch(37.9% 0.037 64.7)
-
Step 950
950
#2F241B
oklch(27% 0.023 60.9)
#795B40 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) | #645D3E | 0.037 |
| Deuteranopia (no green cones) | #6C6440 | 0.033 |
| Tritanopia (no blue cones) | #825554 | 0.042 |
| Achromatopsia (no color) | #616161 | 0.056 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #795B40
#795B40
oklch(49.5% 0.056 62.9)
- #456680
#456680
oklch(49.6% 0.057 243)
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 #795B40, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cocoa #875F42 ΔE 0.028
- Dirt Brown #836539 ΔE 0.038
- Dark Taupe #7F684E ΔE 0.039
- Milk Chocolate #7F4E1E ΔE 0.042
- Medium Brown #7F5112 ΔE 0.045
- Mud #735C12 ΔE 0.050
- Dull Brown #876E4B ΔE 0.060
- Grey Brown #7F7053 ΔE 0.060
Use #795B40 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.