#797A4F
Closest named color: Grey Brown (#7F7053). oklch(56.8% 0.061 109.3), rgb(121, 122, 79).
Aa
Black text reads best on this color (4.70:1).
About this color
#797A4F is a medium-dark, muted yellow. In OKLCH its lightness is 57%, its chroma 0.061 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Grey Brown (#7F7053), ΔE 0.032 away. Black text reads best on it, at 4.70:1.
| Hue family | Yellows |
| Lightness | medium-dark (57%) |
| Chroma | muted (0.061) |
| Temperature | warm |
| Nearest name | Grey Brown (#7F7053) |
| Black text | 4.70:1 |
| White text | 4.45:1 |
Values
| HEX | #797A4F |
| RGB | rgb(121, 122, 79) |
| HSL | hsl(61, 21%, 39%) |
| OKLCH | oklch(56.8% 0.061 109.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 #797A4F | 4.45:1 | AA large text | Lc -76.4 | Fine for body text |
| Black text on #797A4F | 4.70:1 | AA | Lc 33.1 | Non-text elements, placeholder text |
| #797A4F text on white | 4.45:1 | AA large text | Lc 70.9 | Content text, not long reading |
| #797A4F text on black | 4.70:1 | AA | Lc -30.7 | 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
#F5F6F3
oklch(97.2% 0.004 121.6)
-
Step 100
100
#EAEAE4
oklch(93.5% 0.008 106.6)
-
Step 200
200
#D9DACF
oklch(88.5% 0.015 110.9)
-
Step 300
300
#C1C2AE
oklch(80.8% 0.027 109.3)
-
Step 400
400
#A2A384
oklch(70.6% 0.043 109)
-
Step 500
500
#8C8D65
oklch(63.2% 0.057 109.1)
-
Step 600
600 (this color)
#797A4F
oklch(56.8% 0.061 109.3)
-
Step 700
700
#63643D
oklch(49.2% 0.057 109.6)
-
Step 800
800
#515132
oklch(42.7% 0.047 108.3)
-
Step 900
900
#43432C
oklch(37.6% 0.037 108)
-
Step 950
950
#27271A
oklch(26.9% 0.023 107.8)
#797A4F 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) | #81764C | 0.015 |
| Deuteranopia (no green cones) | #817851 | 0.014 |
| Tritanopia (no blue cones) | #7F756F | 0.054 |
| Achromatopsia (no color) | #777777 | 0.061 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797A4F
#797A4F
oklch(56.8% 0.061 109.3)
- #757199
#757199
oklch(56.7% 0.061 288.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 #797A4F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grey Brown #7F7053 ΔE 0.032
- Drab #828344 ΔE 0.036
- Dull Brown #876E4B ΔE 0.038
- Military Green #667C3E ΔE 0.039
- Dirt #8A6E45 ΔE 0.039
- Dark Sage #598556 ΔE 0.049
- Swamp #698339 ΔE 0.050
- Muddy Green #657432 ΔE 0.050
Use #797A4F 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.