#796127
Closest named color: Mud (#735C12). oklch(50.4% 0.082 86.5), rgb(121, 97, 39).
Aa
White text reads best on this color (5.91:1).
About this color
#796127 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 50%, its chroma 0.082 and its hue 86°. Its hue sits on the warm side of the wheel. The nearest named color is Mud (#735C12), ΔE 0.023 away. White text reads best on it, at 5.91:1.
| Hue family | Browns |
| Lightness | medium-dark (50%) |
| Chroma | moderately saturated (0.082) |
| Temperature | warm |
| Nearest name | Mud (#735C12) |
| Black text | 3.55:1 |
| White text | 5.91:1 |
Values
| HEX | #796127 |
| RGB | rgb(121, 97, 39) |
| HSL | hsl(42, 51%, 31%) |
| OKLCH | oklch(50.4% 0.082 86.5) |
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 #796127 | 5.91:1 | AA | Lc -84.7 | Fine for body text |
| Black text on #796127 | 3.55:1 | AA large text | Lc 24.6 | Dividers and decoration only |
| #796127 text on white | 5.91:1 | AA | Lc 79.5 | Fine for body text |
| #796127 text on black | 3.55:1 | AA large text | Lc -22.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
#F7F5F1
oklch(97.1% 0.006 84.6)
-
Step 100
100
#EDE9E1
oklch(93.5% 0.012 84.6)
-
Step 200
200
#DFD8C9
oklch(88.4% 0.022 85.9)
-
Step 300
300
#CCBFA4
oklch(80.8% 0.04 85.3)
-
Step 400
400
#B29E73
oklch(70.6% 0.063 85.8)
-
Step 500
500
#9F864E
oklch(63.1% 0.081 86.1)
-
Step 600
600
#8A6F30
oklch(55.5% 0.088 85.9)
-
Step 700
700 (this color)
#796127
oklch(50.4% 0.082 86.5)
-
Step 800
800
#5F4C1F
oklch(42.6% 0.067 86.3)
-
Step 900
900
#4E401F
oklch(37.8% 0.053 86.8)
-
Step 950
950
#2E2513
oklch(27% 0.033 83.8)
#796127 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) | #6C6021 | 0.024 |
| Deuteranopia (no green cones) | #726729 | 0.020 |
| Tritanopia (no blue cones) | #835954 | 0.072 |
| Achromatopsia (no color) | #646464 | 0.082 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #796127
#796127
oklch(50.4% 0.082 86.5)
- #4F6394
#4F6394
oklch(50.5% 0.082 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 #796127, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Mud #735C12 ΔE 0.023
- Dirt Brown #836539 ΔE 0.028
- Greeny Brown #696006 ΔE 0.038
- Muddy Brown #886806 ΔE 0.040
- Medium Brown #7F5112 ΔE 0.042
- Brown Green #706C11 ΔE 0.043
- Cocoa #875F42 ΔE 0.044
- Browny Green #6F6C0A ΔE 0.045
Use #796127 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.