#796C2F
Closest named color: Brown Green (#706C11). oklch(53% 0.083 97.4), rgb(121, 108, 47).
Aa
White text reads best on this color (5.25:1).
About this color
#796C2F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 53%, its chroma 0.083 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.030 away. White text reads best on it, at 5.25:1.
| Hue family | Yellows |
| Lightness | medium-dark (53%) |
| Chroma | moderately saturated (0.083) |
| Temperature | warm |
| Nearest name | Brown Green (#706C11) |
| Black text | 3.99:1 |
| White text | 5.25:1 |
Values
| HEX | #796C2F |
| RGB | rgb(121, 108, 47) |
| HSL | hsl(49, 44%, 33%) |
| OKLCH | oklch(53% 0.083 97.4) |
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 #796C2F | 5.25:1 | AA | Lc -81.4 | Fine for body text |
| Black text on #796C2F | 3.99:1 | AA large text | Lc 28.1 | Dividers and decoration only |
| #796C2F text on white | 5.25:1 | AA | Lc 76.0 | Fine for body text |
| #796C2F text on black | 3.99:1 | AA large text | Lc -25.7 | 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
#ECEAE2
oklch(93.6% 0.011 95.2)
-
Step 200
200
#DDD9CA
oklch(88.4% 0.021 94.5)
-
Step 300
300
#C7C1A6
oklch(80.9% 0.037 96.8)
-
Step 400
400
#AAA177
oklch(70.6% 0.059 97.5)
-
Step 500
500
#968A53
oklch(63.1% 0.076 97.4)
-
Step 600
600 (this color)
#796C2F
oklch(53% 0.083 97.4)
-
Step 700
700
#6D6129
oklch(49.2% 0.077 97.3)
-
Step 800
800
#594F23
oklch(42.7% 0.064 96.7)
-
Step 900
900
#494222
oklch(37.8% 0.049 97.3)
-
Step 950
950
#2B2714
oklch(27.2% 0.032 97.8)
#796C2F 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) | #766929 | 0.011 |
| Deuteranopia (no green cones) | #796E32 | 0.006 |
| Tritanopia (no blue cones) | #82655F | 0.075 |
| Achromatopsia (no color) | #6C6C6C | 0.083 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #796C2F
#796C2F
oklch(53% 0.083 97.4)
- #60679B
#60679B
oklch(53% 0.082 277.3)
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 #796C2F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Brown Green #706C11 ΔE 0.030
- Muddy Brown #886806 ΔE 0.031
- Dirt Brown #836539 ΔE 0.031
- Browny Green #6F6C0A ΔE 0.033
- Muddy Green #657432 ΔE 0.036
- Dark Moss Green #606C38 ΔE 0.038
- Dirt #8A6E45 ΔE 0.041
- Dull Brown #876E4B ΔE 0.043
Use #796C2F 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.