#797307
Closest named color: Murky Green (#6C7A0E). oklch(54.4% 0.114 105.9), rgb(121, 115, 7).
Aa
White text reads best on this color (4.91:1).
About this color
#797307 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 54%, its chroma 0.114 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Murky Green (#6C7A0E), ΔE 0.026 away. White text reads best on it, at 4.91:1.
| Hue family | Yellows |
| Lightness | medium-dark (54%) |
| Chroma | moderately saturated (0.114) |
| Temperature | warm |
| Nearest name | Murky Green (#6C7A0E) |
| Black text | 4.26:1 |
| White text | 4.91:1 |
Values
| HEX | #797307 |
| RGB | rgb(121, 115, 7) |
| HSL | hsl(57, 89%, 25%) |
| OKLCH | oklch(54.4% 0.114 105.9) |
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 #797307 | 4.91:1 | AA | Lc -79.3 | Fine for body text |
| Black text on #797307 | 4.26:1 | AA large text | Lc 30.1 | Non-text elements, placeholder text |
| #797307 text on white | 4.91:1 | AA | Lc 73.9 | Content text, not long reading |
| #797307 text on black | 4.26:1 | AA large text | Lc -27.8 | Dividers and decoration only |
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
#F6F6F1
oklch(97.2% 0.007 106.5)
-
Step 100
100
#EBEBDF
oklch(93.7% 0.016 106.7)
-
Step 200
200
#DBDBC5
oklch(88.6% 0.029 107)
-
Step 300
300
#C4C39D
oklch(80.8% 0.051 106.2)
-
Step 400
400
#A7A467
oklch(70.7% 0.082 105.9)
-
Step 500
500
#928D3B
oklch(63.1% 0.104 105.8)
-
Step 600
600 (this color)
#797307
oklch(54.4% 0.114 105.9)
-
Step 700
700
#696400
oklch(49.2% 0.105 106.3)
-
Step 800
800
#565107
oklch(42.6% 0.087 105.3)
-
Step 900
900
#464412
oklch(37.8% 0.069 107)
-
Step 950
950
#29280C
oklch(27.1% 0.044 107.1)
#797307 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) | #7E6E00 | 0.015 |
| Deuteranopia (no green cones) | #807214 | 0.014 |
| Tritanopia (no blue cones) | #836A61 | 0.104 |
| Achromatopsia (no color) | #707070 | 0.114 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #797307
#797307
oklch(54.4% 0.114 105.9)
- #6B64AF
#6B64AF
oklch(54.4% 0.115 286.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 #797307, closest first.
No curated palette has a color within ΔE 0.04 of #797307.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Murky Green #6C7A0E ΔE 0.026
- Brown Green #706C11 ΔE 0.026
- Browny Green #6F6C0A ΔE 0.027
- Olive Green #677A04 ΔE 0.033
- Muddy Green #657432 ΔE 0.035
- Hazel #8E7618 ΔE 0.038
- Muddy Brown #886806 ΔE 0.038
- Olive #808000 ΔE 0.040
Use #797307 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.