#7E540A
Closest named color: Medium Brown (#7F5112). oklch(48% 0.098 74.1), rgb(126, 84, 10).
Aa
White text reads best on this color (6.64:1).
About this color
#7E540A is a medium-dark, moderately saturated brown. In OKLCH its lightness is 48%, its chroma 0.098 and its hue 74°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Brown (#7F5112), ΔE 0.010 away. White text reads best on it, at 6.64:1.
| Hue family | Browns |
| Lightness | medium-dark (48%) |
| Chroma | moderately saturated (0.098) |
| Temperature | warm |
| Nearest name | Medium Brown (#7F5112) |
| Black text | 3.15:1 |
| White text | 6.64:1 |
Values
| HEX | #7E540A |
| RGB | rgb(126, 84, 10) |
| HSL | hsl(38, 85%, 27%) |
| OKLCH | oklch(48% 0.098 74.1) |
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 #7E540A | 6.64:1 | AA | Lc -87.6 | Fine for body text |
| Black text on #7E540A | 3.15:1 | AA large text | Lc 21.4 | Dividers and decoration only |
| #7E540A text on white | 6.64:1 | AA | Lc 82.6 | Fine for body text |
| #7E540A text on black | 3.15:1 | AA large text | Lc -19.3 | 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
#F8F5F1
oklch(97.1% 0.006 75.4)
-
Step 100
100
#EFE9E0
oklch(93.6% 0.014 78.3)
-
Step 200
200
#E4D7C7
oklch(88.5% 0.026 73.2)
-
Step 300
300
#D3BD9F
oklch(80.9% 0.048 75.5)
-
Step 400
400
#BD9A6B
oklch(70.7% 0.076 74.3)
-
Step 500
500
#AC8042
oklch(63% 0.096 73.9)
-
Step 600
600
#97691F
oklch(55.6% 0.105 74.5)
-
Step 700
700 (this color)
#7E540A
oklch(48% 0.098 74.1)
-
Step 800
800
#694712
oklch(42.6% 0.081 73.6)
-
Step 900
900
#553C17
oklch(37.6% 0.063 74.3)
-
Step 950
950
#32230F
oklch(26.9% 0.039 72.7)
#7E540A 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) | #635600 | 0.050 |
| Deuteranopia (no green cones) | #6D600E | 0.043 |
| Tritanopia (no blue cones) | #8A4947 | 0.081 |
| Achromatopsia (no color) | #5C5C5C | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7E540A
#7E540A
oklch(48% 0.098 74.1)
- #345F94
#345F94
oklch(48% 0.099 254.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 #7E540A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Brown #7F5112 ΔE 0.010
- Milk Chocolate #7F4E1E ΔE 0.024
- Mud #735C12 ΔE 0.027
- Saddle Brown #8B4513 ΔE 0.046
- Warm Brown #964E02 ΔE 0.046
- Olive Brown #645403 ΔE 0.048
- Greeny Brown #696006 ΔE 0.049
- Dirt Brown #836539 ΔE 0.053
Use #7E540A 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.