#797A52
Closest named color: Grey Brown (#7F7053). oklch(56.8% 0.058 109.3), rgb(121, 122, 82).
Aa
Black text reads best on this color (4.71:1).
About this color
#797A52 is a medium-dark, muted yellow. In OKLCH its lightness is 57%, its chroma 0.058 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.058) |
| Temperature | warm |
| Nearest name | Grey Brown (#7F7053) |
| Black text | 4.71:1 |
| White text | 4.45:1 |
Values
| HEX | #797A52 |
| RGB | rgb(121, 122, 82) |
| HSL | hsl(62, 20%, 40%) |
| OKLCH | oklch(56.8% 0.058 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 #797A52 | 4.45:1 | AA large text | Lc -76.4 | Fine for body text |
| Black text on #797A52 | 4.71:1 | AA | Lc 33.2 | Non-text elements, placeholder text |
| #797A52 text on white | 4.45:1 | AA large text | Lc 70.9 | Content text, not long reading |
| #797A52 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
#A2A386
oklch(70.7% 0.041 109)
-
Step 500
500
#8B8D67
oklch(63.2% 0.054 110.4)
-
Step 600
600 (this color)
#797A52
oklch(56.8% 0.058 109.3)
-
Step 700
700
#63633F
oklch(49% 0.053 108.2)
-
Step 800
800
#505134
oklch(42.6% 0.045 109.8)
-
Step 900
900
#43432E
oklch(37.7% 0.034 107.9)
-
Step 950
950
#27271B
oklch(26.9% 0.021 107.7)
#797A52 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) | #80774F | 0.012 |
| Deuteranopia (no green cones) | #817854 | 0.014 |
| Tritanopia (no blue cones) | #7E7570 | 0.052 |
| Achromatopsia (no color) | #777777 | 0.058 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797A52
#797A52
oklch(56.8% 0.058 109.3)
- #767297
#767297
oklch(57% 0.057 289.4)
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 #797A52, 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.042
- Dark Sage #598556 ΔE 0.050
- Brown Grey #8D8468 ΔE 0.050
- Dark Taupe #7F684E ΔE 0.051
Use #797A52 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.