#796828
Closest named color: Brown Green (#706C11). oklch(52% 0.086 94.3), rgb(121, 104, 40).
Aa
White text reads best on this color (5.49:1).
About this color
#796828 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 52%, its chroma 0.086 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.028 away. White text reads best on it, at 5.49:1.
| Hue family | Yellows |
| Lightness | medium-dark (52%) |
| Chroma | moderately saturated (0.086) |
| Temperature | warm |
| Nearest name | Brown Green (#706C11) |
| Black text | 3.82:1 |
| White text | 5.49:1 |
Values
| HEX | #796828 |
| RGB | rgb(121, 104, 40) |
| HSL | hsl(47, 50%, 32%) |
| OKLCH | oklch(52% 0.086 94.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 #796828 | 5.49:1 | AA | Lc -82.6 | Fine for body text |
| Black text on #796828 | 3.82:1 | AA large text | Lc 26.7 | Dividers and decoration only |
| #796828 text on white | 5.49:1 | AA | Lc 77.3 | Fine for body text |
| #796828 text on black | 3.82:1 | AA large text | Lc -24.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
#F6F5F1
oklch(97% 0.005 95.1)
-
Step 100
100
#ECEAE1
oklch(93.6% 0.012 96.4)
-
Step 200
200
#DED9C9
oklch(88.5% 0.022 92.5)
-
Step 300
300
#C9C1A3
oklch(81% 0.042 94.8)
-
Step 400
400
#AEA071
oklch(70.6% 0.066 93.5)
-
Step 500
500
#9A894B
oklch(63.2% 0.084 94.4)
-
Step 600
600
#85722C
oklch(55.6% 0.092 94)
-
Step 700
700 (this color)
#796828
oklch(52% 0.086 94.3)
-
Step 800
800
#5C4E1B
oklch(42.7% 0.071 93.7)
-
Step 900
900
#4B411D
oklch(37.7% 0.055 94.1)
-
Step 950
950
#2C2612
oklch(27% 0.034 93.2)
#796828 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) | #736621 | 0.014 |
| Deuteranopia (no green cones) | #776B2B | 0.008 |
| Tritanopia (no blue cones) | #83605A | 0.078 |
| Achromatopsia (no color) | #696969 | 0.086 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #796828
#796828
oklch(52% 0.086 94.3)
- #5A659A
#5A659A
oklch(52.1% 0.085 274.2)
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 #796828, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Brown Green #706C11 ΔE 0.028
- Muddy Brown #886806 ΔE 0.029
- Dirt Brown #836539 ΔE 0.030
- Browny Green #6F6C0A ΔE 0.032
- Mud #735C12 ΔE 0.037
- Dark Moss Green #606C38 ΔE 0.039
- Muddy Green #657432 ΔE 0.042
- Greeny Brown #696006 ΔE 0.042
Use #796828 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.