#797F68
Closest named color: Medium Grey (#7D7F7C). oklch(58.5% 0.035 119.4), rgb(121, 127, 104).
Aa
Black text reads best on this color (5.04:1).
About this color
#797F68 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.035 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.031 away. Black text reads best on it, at 5.04:1.
| Hue family | Yellows |
| Lightness | medium-dark (58%) |
| Chroma | muted (0.035) |
| Temperature | in between |
| Nearest name | Medium Grey (#7D7F7C) |
| Black text | 5.04:1 |
| White text | 4.15:1 |
Values
| HEX | #797F68 |
| RGB | rgb(121, 127, 104) |
| HSL | hsl(76, 10%, 45%) |
| OKLCH | oklch(58.5% 0.035 119.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 #797F68 | 4.15:1 | AA large text | Lc -74.2 | Content text, not long reading |
| Black text on #797F68 | 5.04:1 | AA | Lc 35.4 | Non-text elements, placeholder text |
| #797F68 text on white | 4.15:1 | AA large text | Lc 68.7 | Content text, not long reading |
| #797F68 text on black | 5.04:1 | AA | Lc -33.0 | 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
#F5F6F4
oklch(97.2% 0.003 128.5)
-
Step 100
100
#E9EAE7
oklch(93.5% 0.004 121.6)
-
Step 200
200
#D8DAD4
oklch(88.5% 0.008 121.6)
-
Step 300
300
#BFC2B7
oklch(80.9% 0.016 119.2)
-
Step 400
400
#9EA392
oklch(70.7% 0.025 120.4)
-
Step 500
500
#878D77
oklch(63.2% 0.033 119.7)
-
Step 600
600 (this color)
#797F68
oklch(58.5% 0.035 119.4)
-
Step 700
700
#5E644F
oklch(49.2% 0.033 120.6)
-
Step 800
800
#4D5141
oklch(42.6% 0.026 118.9)
-
Step 900
900
#404337
oklch(37.6% 0.02 118.8)
-
Step 950
950
#262720
oklch(26.9% 0.013 113.9)
#797F68 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) | #827C67 | 0.015 |
| Deuteranopia (no green cones) | #817C69 | 0.015 |
| Tritanopia (no blue cones) | #7B7C79 | 0.030 |
| Achromatopsia (no color) | #7C7C7C | 0.035 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797F68
#797F68
oklch(58.5% 0.035 119.4)
- #7E778E
#7E778E
oklch(58.4% 0.036 299.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 #797F68, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Grey #7D7F7C ΔE 0.031
- Brown Grey #8D8468 ΔE 0.035
- Gray #808080 ΔE 0.038
- Grey Brown #7F7053 ΔE 0.043
- Slate Green #658D6D ΔE 0.045
- Steel Grey #6F828A ΔE 0.049
- Battleship Grey #6B7C85 ΔE 0.050
- Dull Brown #876E4B ΔE 0.052
Use #797F68 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.