#7B512E
Closest named color: Milk Chocolate (#7F4E1E). oklch(47.4% 0.075 59.3), rgb(123, 81, 46).
Aa
White text reads best on this color (6.86:1).
About this color
#7B512E is a medium-dark, moderately saturated brown. In OKLCH its lightness is 47%, its chroma 0.075 and its hue 59°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.016 away. White text reads best on it, at 6.86:1.
| Hue family | Browns |
| Lightness | medium-dark (47%) |
| Chroma | moderately saturated (0.075) |
| Temperature | warm |
| Nearest name | Milk Chocolate (#7F4E1E) |
| Black text | 3.05:1 |
| White text | 6.86:1 |
Values
| HEX | #7B512E |
| RGB | rgb(123, 81, 46) |
| HSL | hsl(27, 46%, 33%) |
| OKLCH | oklch(47.4% 0.075 59.3) |
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 #7B512E | 6.86:1 | AA | Lc -88.6 | Fine for body text |
| Black text on #7B512E | 3.05:1 | AA large text | Lc 20.5 | Dividers and decoration only |
| #7B512E text on white | 6.86:1 | AA | Lc 83.6 | Fine for body text |
| #7B512E text on black | 3.05:1 | AA large text | Lc -18.4 | 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
#F8F5F2
oklch(97.2% 0.005 67.8)
-
Step 100
100
#EFE8E3
oklch(93.5% 0.01 58.2)
-
Step 200
200
#E4D6CC
oklch(88.5% 0.021 58)
-
Step 300
300
#D3BCAA
oklch(81% 0.036 60.3)
-
Step 400
400
#BC987D
oklch(70.6% 0.057 58.5)
-
Step 500
500
#AB7F5B
oklch(63.1% 0.074 60.2)
-
Step 600
600
#966741
oklch(55.5% 0.081 59)
-
Step 700
700 (this color)
#7B512E
oklch(47.4% 0.075 59.3)
-
Step 800
800
#68462B
oklch(42.6% 0.062 58.5)
-
Step 900
900
#553B27
oklch(37.7% 0.048 58.2)
-
Step 950
950
#322317
oklch(27.1% 0.031 59.6)
#7B512E 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) | #5E552B | 0.053 |
| Deuteranopia (no green cones) | #685E2E | 0.048 |
| Tritanopia (no blue cones) | #864849 | 0.055 |
| Achromatopsia (no color) | #5A5A5A | 0.075 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7B512E
#7B512E
oklch(47.4% 0.075 59.3)
- #2F6182
#2F6182
oklch(47.3% 0.076 240)
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 #7B512E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Milk Chocolate #7F4E1E ΔE 0.016
- Medium Brown #7F5112 ΔE 0.025
- Saddle Brown #8B4513 ΔE 0.040
- Cocoa #875F42 ΔE 0.048
- Mud #735C12 ΔE 0.048
- Warm Brown #964E02 ΔE 0.054
- Dirt Brown #836539 ΔE 0.057
- Olive Brown #645403 ΔE 0.060
Use #7B512E 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.