#796F3A
Closest named color: Dirt Brown (#836539). oklch(53.9% 0.074 98.9), rgb(121, 111, 58).
Aa
White text reads best on this color (5.06:1).
About this color
#796F3A is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 54%, its chroma 0.074 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt Brown (#836539), ΔE 0.032 away. White text reads best on it, at 5.06:1.
| Hue family | Yellows |
| Lightness | medium-dark (54%) |
| Chroma | moderately saturated (0.074) |
| Temperature | warm |
| Nearest name | Dirt Brown (#836539) |
| Black text | 4.14:1 |
| White text | 5.06:1 |
Values
| HEX | #796F3A |
| RGB | rgb(121, 111, 58) |
| HSL | hsl(50, 35%, 35%) |
| OKLCH | oklch(53.9% 0.074 98.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 #796F3A | 5.06:1 | AA | Lc -80.3 | Fine for body text |
| Black text on #796F3A | 4.14:1 | AA large text | Lc 29.1 | Dividers and decoration only |
| #796F3A text on white | 5.06:1 | AA | Lc 74.9 | Content text, not long reading |
| #796F3A text on black | 4.14:1 | AA large text | Lc -26.8 | 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 600.
-
Step 50
50
#F6F5F2
oklch(97% 0.004 91.4)
-
Step 100
100
#EBEAE3
oklch(93.6% 0.009 100)
-
Step 200
200
#DCDACC
oklch(88.6% 0.019 100.2)
-
Step 300
300
#C6C1A9
oklch(80.9% 0.033 97.4)
-
Step 400
400
#A9A27B
oklch(70.8% 0.054 99.1)
-
Step 500
500
#948A5A
oklch(63% 0.067 97.9)
-
Step 600
600 (this color)
#796F3A
oklch(53.9% 0.074 98.9)
-
Step 700
700
#6A6131
oklch(49% 0.068 98.9)
-
Step 800
800
#575029
oklch(42.8% 0.058 99.3)
-
Step 900
900
#474226
oklch(37.7% 0.044 99.4)
-
Step 950
950
#2A2717
oklch(27.1% 0.028 98.9)
#796F3A 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) | #786C35 | 0.009 |
| Deuteranopia (no green cones) | #7B703C | 0.005 |
| Tritanopia (no blue cones) | #816863 | 0.069 |
| Achromatopsia (no color) | #6E6E6E | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #796F3A
#796F3A
oklch(53.9% 0.074 98.9)
- #656A99
#656A99
oklch(53.9% 0.074 278.9)
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 #796F3A, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dirt Brown #836539 ΔE 0.032
- Dirt #8A6E45 ΔE 0.033
- Dull Brown #876E4B ΔE 0.034
- Grey Brown #7F7053 ΔE 0.034
- Muddy Green #657432 ΔE 0.037
- Muddy Brown #886806 ΔE 0.039
- Brown Green #706C11 ΔE 0.039
- Dark Taupe #7F684E ΔE 0.040
Use #796F3A 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.