#797D68
Closest named color: Medium Grey (#7D7F7C). oklch(58% 0.031 116.1), rgb(121, 125, 104).
Aa
Black text reads best on this color (4.94:1).
About this color
#797D68 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.031 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.030 away. Black text reads best on it, at 4.94:1.
| Hue family | Yellows |
| Lightness | medium-dark (58%) |
| Chroma | muted (0.031) |
| Temperature | in between |
| Nearest name | Medium Grey (#7D7F7C) |
| Black text | 4.94:1 |
| White text | 4.24:1 |
Values
| HEX | #797D68 |
| RGB | rgb(121, 125, 104) |
| HSL | hsl(71, 9%, 45%) |
| OKLCH | oklch(58% 0.031 116.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 #797D68 | 4.24:1 | AA large text | Lc -74.8 | Content text, not long reading |
| Black text on #797D68 | 4.94:1 | AA | Lc 34.7 | Non-text elements, placeholder text |
| #797D68 text on white | 4.24:1 | AA large text | Lc 69.3 | Content text, not long reading |
| #797D68 text on black | 4.94:1 | AA | Lc -32.3 | Non-text elements, placeholder text |
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
#F5F5F4
oklch(97% 0.001 106.4)
-
Step 100
100
#E9EAE7
oklch(93.5% 0.004 121.6)
-
Step 200
200
#D9DAD4
oklch(88.6% 0.008 114.2)
-
Step 300
300
#C0C2B8
oklch(81% 0.014 115.9)
-
Step 400
400
#9FA393
oklch(70.8% 0.023 118.4)
-
Step 500
500
#888C78
oklch(63.1% 0.029 116.4)
-
Step 600
600 (this color)
#797D68
oklch(58% 0.031 116.1)
-
Step 700
700
#5F6350
oklch(49% 0.03 117.2)
-
Step 800
800
#4E5142
oklch(42.8% 0.024 116.6)
-
Step 900
900
#414338
oklch(37.7% 0.018 115.7)
-
Step 950
950
#262721
oklch(27% 0.011 114.8)
#797D68 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) | #807B67 | 0.011 |
| Deuteranopia (no green cones) | #807B69 | 0.012 |
| Tritanopia (no blue cones) | #7B7A77 | 0.027 |
| Achromatopsia (no color) | #7B7B7B | 0.032 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797D68
#797D68
oklch(58% 0.031 116.1)
- #7C778B
#7C778B
oklch(58.1% 0.031 296.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 #797D68, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Grey #7D7F7C ΔE 0.030
- Gray #808080 ΔE 0.037
- Brown Grey #8D8468 ΔE 0.038
- Grey Brown #7F7053 ΔE 0.039
- Battleship Grey #6B7C85 ΔE 0.047
- Steel Grey #6F828A ΔE 0.048
- Dull Brown #876E4B ΔE 0.049
- Battleship Gray #6C757D ΔE 0.049
Use #797D68 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.