#797C66
Closest named color: Medium Grey (#7D7F7C). oklch(57.7% 0.033 113.7), rgb(121, 124, 102).
Aa
Black text reads best on this color (4.88:1).
About this color
#797C66 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.033 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.033 away. Black text reads best on it, at 4.88:1.
| Hue family | Yellows |
| Lightness | medium-dark (58%) |
| Chroma | muted (0.033) |
| Temperature | in between |
| Nearest name | Medium Grey (#7D7F7C) |
| Black text | 4.88:1 |
| White text | 4.29:1 |
Values
| HEX | #797C66 |
| RGB | rgb(121, 124, 102) |
| HSL | hsl(68, 10%, 44%) |
| OKLCH | oklch(57.7% 0.033 113.7) |
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 #797C66 | 4.29:1 | AA large text | Lc -75.2 | Fine for body text |
| Black text on #797C66 | 4.88:1 | AA | Lc 34.3 | Non-text elements, placeholder text |
| #797C66 text on white | 4.29:1 | AA large text | Lc 69.7 | Content text, not long reading |
| #797C66 text on black | 4.88:1 | AA | Lc -31.9 | 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
#EAEAE7
oklch(93.6% 0.004 106.5)
-
Step 200
200
#D9DAD4
oklch(88.6% 0.008 114.2)
-
Step 300
300
#C0C2B7
oklch(80.9% 0.015 115.1)
-
Step 400
400
#A0A292
oklch(70.6% 0.023 112.8)
-
Step 500
500
#898C77
oklch(63.2% 0.031 113.9)
-
Step 600
600 (this color)
#797C66
oklch(57.7% 0.033 113.7)
-
Step 700
700
#60634F
oklch(49.1% 0.031 114.5)
-
Step 800
800
#4F5141
oklch(42.8% 0.026 113.3)
-
Step 900
900
#414337
oklch(37.7% 0.02 115)
-
Step 950
950
#262720
oklch(26.9% 0.013 113.9)
#797C66 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) | #807A65 | 0.011 |
| Deuteranopia (no green cones) | #7F7A67 | 0.011 |
| Tritanopia (no blue cones) | #7C7976 | 0.029 |
| Achromatopsia (no color) | #7A7A7A | 0.033 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797C66
#797C66
oklch(57.7% 0.033 113.7)
- #7A768C
#7A768C
oklch(57.7% 0.034 293.7)
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 #797C66, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Grey #7D7F7C ΔE 0.033
- Grey Brown #7F7053 ΔE 0.036
- Gray #808080 ΔE 0.040
- Brown Grey #8D8468 ΔE 0.040
- Dull Brown #876E4B ΔE 0.046
- Battleship Grey #6B7C85 ΔE 0.049
- Battleship Gray #6C757D ΔE 0.049
- Dirt #8A6E45 ΔE 0.051
Use #797C66 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.