#797A51
Closest named color: Grey Brown (#7F7053). oklch(56.8% 0.059 109.3), rgb(121, 122, 81).
Aa
Black text reads best on this color (4.71:1).
About this color
#797A51 is a medium-dark, muted yellow. In OKLCH its lightness is 57%, its chroma 0.059 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Grey Brown (#7F7053), ΔE 0.031 away. Black text reads best on it, at 4.71:1.
| Hue family | Yellows |
| Lightness | medium-dark (57%) |
| Chroma | muted (0.059) |
| Temperature | warm |
| Nearest name | Grey Brown (#7F7053) |
| Black text | 4.71:1 |
| White text | 4.45:1 |
Values
| HEX | #797A51 |
| RGB | rgb(121, 122, 81) |
| HSL | hsl(61, 20%, 40%) |
| OKLCH | oklch(56.8% 0.059 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 #797A51 | 4.45:1 | AA large text | Lc -76.4 | Fine for body text |
| Black text on #797A51 | 4.71:1 | AA | Lc 33.2 | Non-text elements, placeholder text |
| #797A51 text on white | 4.45:1 | AA large text | Lc 70.9 | Content text, not long reading |
| #797A51 text on black | 4.71:1 | AA | Lc -30.8 | 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
#EAEAE5
oklch(93.6% 0.007 106.5)
-
Step 200
200
#D9DACF
oklch(88.5% 0.015 110.9)
-
Step 300
300
#C1C2AF
oklch(80.8% 0.026 109.4)
-
Step 400
400
#A2A385
oklch(70.7% 0.042 109)
-
Step 500
500
#8B8D66
oklch(63.1% 0.055 110.3)
-
Step 600
600 (this color)
#797A51
oklch(56.8% 0.059 109.3)
-
Step 700
700
#63643E
oklch(49.2% 0.056 109.6)
-
Step 800
800
#515134
oklch(42.7% 0.045 108.1)
-
Step 900
900
#43432D
oklch(37.6% 0.035 108)
-
Step 950
950
#27271B
oklch(26.9% 0.021 107.7)
#797A51 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) | #80774E | 0.012 |
| Deuteranopia (no green cones) | #817853 | 0.014 |
| Tritanopia (no blue cones) | #7E756F | 0.052 |
| Achromatopsia (no color) | #777777 | 0.059 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797A51
#797A51
oklch(56.8% 0.059 109.3)
- #757198
#757198
oklch(56.7% 0.06 289)
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 #797A51, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Grey Brown #7F7053 ΔE 0.031
- Dull Brown #876E4B ΔE 0.037
- Drab #828344 ΔE 0.038
- Dirt #8A6E45 ΔE 0.039
- Military Green #667C3E ΔE 0.041
- Dark Sage #598556 ΔE 0.049
- Brown Grey #8D8468 ΔE 0.051
- Dark Taupe #7F684E ΔE 0.051
Use #797A51 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.